From cef11dc6fde910fdf7903af4ed2259826a3030f9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Sep 2014 18:43:18 -0300 Subject: Minor fixes --- git-rewrite-identity | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-rewrite-identity') 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 -- cgit v1.2.3