提交 cf408cb4 编写于 作者: J Junio C Hamano

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: NJunio C Hamano <junkio@cox.net>
上级 7061f5c2
......@@ -344,7 +344,6 @@ install: $(PROGRAMS) $(SCRIPTS)
$(INSTALL) -d -m755 $(DESTDIR)$(bindir)
$(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
$(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick
sh ./cmd-rename.sh $(DESTDIR)$(bindir)
$(MAKE) -C templates install
$(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR)
$(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR)
......
#!/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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册