From 211e4ac8732b9798dbef6fb2c11e5c181cc82434 Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 8 Sep 2016 21:44:53 +0200 Subject: [PATCH] autoconvert filterBranchEnvEdit.sh git default names to jan. --- filterBranchEnvEdit.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/filterBranchEnvEdit.sh b/filterBranchEnvEdit.sh index 6d34ff6..3de4970 100755 --- a/filterBranchEnvEdit.sh +++ b/filterBranchEnvEdit.sh @@ -25,6 +25,18 @@ git filter-branch -f --env-filter ' export GIT_AUTHOR_EMAIL="git@git.somenet.org" export GIT_AUTHOR_NAME="git" fi + if [ "$GIT_AUTHOR_EMAIL" = "you@example.com" ]; then + export GIT_AUTHOR_EMAIL="jan@jvales.net" + export GIT_AUTHOR_NAME="Jan Vales" + fi + if [ "$GIT_AUTHOR_EMAIL" = "you@localhost" ]; then + export GIT_AUTHOR_EMAIL="jan@jvales.net" + export GIT_AUTHOR_NAME="Jan Vales" + fi + if [ "$GIT_AUTHOR_EMAIL" = "root@localhost" ]; then + export GIT_AUTHOR_EMAIL="jan@jvales.net" + export GIT_AUTHOR_NAME="Jan Vales" + fi # if [ "$GIT_AUTHOR_EMAIL" = "jan@jvales.net" ]; then # export GIT_AUTHOR_EMAIL="someone@somenet.org" # export GIT_AUTHOR_NAME="Someone" -- 2.43.0