aboutsummaryrefslogtreecommitdiff
path: root/git-rewrite-identity
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 18:43:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 18:43:18 -0300
commitcef11dc6fde910fdf7903af4ed2259826a3030f9 (patch)
treebceaef47fcbfdfdffdfa5155f142c0655930ac94 /git-rewrite-identity
parentf0e0d0c74e29cbd7738092b3aa9824f206c3445f (diff)
downloadutils-git-cef11dc6fde910fdf7903af4ed2259826a3030f9.tar.gz
utils-git-cef11dc6fde910fdf7903af4ed2259826a3030f9.tar.bz2
Minor fixes
Diffstat (limited to 'git-rewrite-identity')
-rwxr-xr-xgit-rewrite-identity4
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