Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-rename.sh')
-rwxr-xr-xcmd-rename.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd-rename.sh b/cmd-rename.sh
index ad3285b797..f90b6babd4 100755
--- a/cmd-rename.sh
+++ b/cmd-rename.sh
@@ -1,12 +1,15 @@
#!/bin/sh
+#
+# This is for people who installed previous GIT by hand and would want
+# to remove the backward compatible links:
+#
+# ./cmd-rename.sh $bindir
+#
d="$1"
test -d "$d" || exit
while read old new
do
rm -f "$d/$old"
- if [ -x "$d/$new" ]; then
- ln -s "$new" "$d/$old"
- fi
done <<\EOF
git-add-script git-add
git-archimport-script git-archimport