Stop installing the backward compatible symlinks.
Also cmd-renames.sh can now be used to remove the backward compatible symlinks -- this is not used by default in any way. As discussed on the list with Pasky, git-ssh-push and git-ssh-pull will keep calling each other for a while longer. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Sep 24, 2005 at 23:42 UTC
cf408cb4a002855a9ffb58009c5f40da7f68b55e
2 files changed
+6
-4
Makefile
-1
@@ -344,7 +344,6 @@ install: $(PROGRAMS) $(SCRIPTS)
344
$(INSTALL) -d -m755 $(DESTDIR)$(bindir)
345
$(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
346
$(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick
347
- sh ./cmd-rename.sh $(DESTDIR)$(bindir)
347
$(MAKE) -C templates install
348
$(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR)
349
$(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR)
cmd-rename.sh
+6
-3
@@ -1,12 +1,15 @@
1
#!/bin/sh
2
+#
3
+# This is for people who installed previous GIT by hand and would want
4
+# to remove the backward compatible links:
5
+#
6
+# ./cmd-rename.sh $bindir
7
+#
8
d="$1"
9
test -d "$d" || exit
10
while read old new
11
do
12
rm -f "$d/$old"
7
- if [ -x "$d/$new" ]; then
8
- ln -s "$new" "$d/$old"
9
- fi
13
done <<\EOF
14
git-add-script git-add
15
git-archimport-script git-archimport