]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Sep 2014 21:43:18 +0000 (18:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Sep 2014 21:43:18 +0000 (18:43 -0300)
git-rewrite-identity

index fca905151b810610b23e63ab8194aa9c487a55fc..0e79fd74db762fa2897528246d90c9454ab8f013 100755 (executable)
@@ -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