From: Silvio Rhatto Date: Thu, 18 Sep 2014 21:43:18 +0000 (-0300) Subject: Minor fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=cef11dc6fde910fdf7903af4ed2259826a3030f9;p=utils-git.git Minor fixes --- diff --git a/git-rewrite-identity b/git-rewrite-identity index fca9051..0e79fd7 100755 --- a/git-rewrite-identity +++ b/git-rewrite-identity @@ -22,7 +22,7 @@ NEW_NAME="$*" echo "Please run this command:" echo "" cat <<-EOF -git filter-branch --commit-filter " +git filter-branch --commit-filter ' if [ "\$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]; then GIT_AUTHOR_NAME="$NEW_NAME"; @@ -30,5 +30,5 @@ git filter-branch --commit-filter " git commit-tree "\$@"; else git commit-tree "\$@"; - fi" HEAD + fi' HEAD EOF