diff options
-rwxr-xr-x | git-rewrite-identity | 4 |
1 files changed, 2 insertions, 2 deletions
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 |