Make the rest of commands work from a subdirectory.
[gitweb.git] / cmd-rename.sh
index f90b6babd4f7a8dd1f747b44abf41891745c8031..992493de2218ad86d59e6a60e1ee3e01f5c7221d 100755 (executable)
@@ -1,10 +1,16 @@
 #!/bin/sh
 #
-# This is for people who installed previous GIT by hand and would want
-# to remove the backward compatible links:
+# If you installed git by hand previously, you may find this
+# script useful to remove the symbolic links that we shipped
+# for backward compatibility.
 #
-# ./cmd-rename.sh $bindir
+# 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
@@ -54,7 +60,3 @@ git-update-cache      git-update-index
 git-convert-cache      git-convert-objects
 git-fsck-cache git-fsck-objects
 EOF
-
-# These two are a bit more than symlinks now.
-# git-ssh-push git-ssh-upload
-# git-ssh-pull git-ssh-fetch