Skip to content

Commit cf408cb

Browse files
author
Junio C Hamano
committed
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>
1 parent 7061f5c commit cf408cb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ install: $(PROGRAMS) $(SCRIPTS)
344344
$(INSTALL) -d -m755 $(DESTDIR)$(bindir)
345345
$(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
346346
$(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick
347-
sh ./cmd-rename.sh $(DESTDIR)$(bindir)
348347
$(MAKE) -C templates install
349348
$(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR)
350349
$(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR)

cmd-rename.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/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+
#
28
d="$1"
39
test -d "$d" || exit
410
while read old new
511
do
612
rm -f "$d/$old"
7-
if [ -x "$d/$new" ]; then
8-
ln -s "$new" "$d/$old"
9-
fi
1013
done <<\EOF
1114
git-add-script git-add
1215
git-archimport-script git-archimport

0 commit comments

Comments
 (0)