X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=cmd-rename.sh;h=f90b6babd4f7a8dd1f747b44abf41891745c8031;hb=edde7a8b5324d88f07fcb8204da313c19b4988fa;hp=1edb037bea880d0f2e8fd47e01d3642838dabcaa;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/cmd-rename.sh b/cmd-rename.sh index 1edb037b..f90b6bab 100755 --- a/cmd-rename.sh +++ b/cmd-rename.sh @@ -1,10 +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" - ln -s "$new" "$d/$old" done <<\EOF git-add-script git-add git-archimport-script git-archimport @@ -42,12 +47,14 @@ git-tag-script git-tag git-verify-tag-script git-verify-tag git-http-pull git-http-fetch git-local-pull git-local-fetch -git-ssh-pull git-ssh-fetch git-checkout-cache git-checkout-index git-diff-cache git-diff-index git-merge-cache git-merge-index git-update-cache git-update-index -git-ssh-push git-ssh-upload 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