t3200: branch --help does not die anymore.
[git/fastimport.git] / cmd-rename.sh
blob992493de2218ad86d59e6a60e1ee3e01f5c7221d
1 #!/bin/sh
3 # If you installed git by hand previously, you may find this
4 # script useful to remove the symbolic links that we shipped
5 # for backward compatibility.
7 # Running this script with the previous installation directory
8 # like this:
10 # $ cmd-rename.sh /usr/local/bin/
12 # would clean them.
14 d="$1"
15 test -d "$d" || exit
16 while read old new
18 rm -f "$d/$old"
19 done <<\EOF
20 git-add-script git-add
21 git-archimport-script git-archimport
22 git-bisect-script git-bisect
23 git-branch-script git-branch
24 git-checkout-script git-checkout
25 git-cherry-pick-script git-cherry-pick
26 git-clone-script git-clone
27 git-commit-script git-commit
28 git-count-objects-script git-count-objects
29 git-cvsimport-script git-cvsimport
30 git-diff-script git-diff
31 git-send-email-script git-send-email
32 git-fetch-script git-fetch
33 git-format-patch-script git-format-patch
34 git-log-script git-log
35 git-ls-remote-script git-ls-remote
36 git-merge-one-file-script git-merge-one-file
37 git-octopus-script git-octopus
38 git-parse-remote-script git-parse-remote
39 git-prune-script git-prune
40 git-pull-script git-pull
41 git-push-script git-push
42 git-rebase-script git-rebase
43 git-relink-script git-relink
44 git-rename-script git-rename
45 git-repack-script git-repack
46 git-request-pull-script git-request-pull
47 git-reset-script git-reset
48 git-resolve-script git-resolve
49 git-revert-script git-revert
50 git-sh-setup-script git-sh-setup
51 git-status-script git-status
52 git-tag-script git-tag
53 git-verify-tag-script git-verify-tag
54 git-http-pull git-http-fetch
55 git-local-pull git-local-fetch
56 git-checkout-cache git-checkout-index
57 git-diff-cache git-diff-index
58 git-merge-cache git-merge-index
59 git-update-cache git-update-index
60 git-convert-cache git-convert-objects
61 git-fsck-cache git-fsck-objects
62 EOF