archimport: Fix a bug I introduced in the new log parser
[git.git] / cmd-rename.sh
index 1edb037..992493d 100755 (executable)
@@ -1,10 +1,21 @@
 #!/bin/sh
+#
+# If you installed git by hand previously, you may find this
+# script useful to remove the symbolic links that we shipped
+# for backward compatibility.
+#
+# Running this script with the previous installation directory
+# like this:
+#
+# $ cmd-rename.sh /usr/local/bin/
+#
+# would clean them.
+
 d="$1"
 test -d "$d" || exit
 while read old new
 do
        rm -f "$d/$old"
-       ln -s "$new" "$d/$old"
 done <<\EOF
 git-add-script git-add
 git-archimport-script  git-archimport
@@ -42,12 +53,10 @@ git-tag-script      git-tag
 git-verify-tag-script  git-verify-tag
 git-http-pull  git-http-fetch
 git-local-pull git-local-fetch
-git-ssh-pull   git-ssh-fetch
 git-checkout-cache     git-checkout-index
 git-diff-cache git-diff-index
 git-merge-cache        git-merge-index
 git-update-cache       git-update-index
-git-ssh-push   git-ssh-upload
 git-convert-cache      git-convert-objects
 git-fsck-cache git-fsck-objects
 EOF