[PATCH] Provide access to git_dir through get_git_dir().
[git.git] / cmd-rename.sh
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"
13 done <<\EOF
14 git-add-script  git-add
15 git-archimport-script   git-archimport
16 git-bisect-script       git-bisect
17 git-branch-script       git-branch
18 git-checkout-script     git-checkout
19 git-cherry-pick-script  git-cherry-pick
20 git-clone-script        git-clone
21 git-commit-script       git-commit
22 git-count-objects-script        git-count-objects
23 git-cvsimport-script    git-cvsimport
24 git-diff-script git-diff
25 git-send-email-script   git-send-email
26 git-fetch-script        git-fetch
27 git-format-patch-script git-format-patch
28 git-log-script  git-log
29 git-ls-remote-script    git-ls-remote
30 git-merge-one-file-script       git-merge-one-file
31 git-octopus-script      git-octopus
32 git-parse-remote-script git-parse-remote
33 git-prune-script        git-prune
34 git-pull-script git-pull
35 git-push-script git-push
36 git-rebase-script       git-rebase
37 git-relink-script       git-relink
38 git-rename-script       git-rename
39 git-repack-script       git-repack
40 git-request-pull-script git-request-pull
41 git-reset-script        git-reset
42 git-resolve-script      git-resolve
43 git-revert-script       git-revert
44 git-sh-setup-script     git-sh-setup
45 git-status-script       git-status
46 git-tag-script  git-tag
47 git-verify-tag-script   git-verify-tag
48 git-http-pull   git-http-fetch
49 git-local-pull  git-local-fetch
50 git-checkout-cache      git-checkout-index
51 git-diff-cache  git-diff-index
52 git-merge-cache git-merge-index
53 git-update-cache        git-update-index
54 git-convert-cache       git-convert-objects
55 git-fsck-cache  git-fsck-objects
56 EOF
57
58 # These two are a bit more than symlinks now.
59 # git-ssh-push  git-ssh-upload
60 # git-ssh-pull  git-ssh-fetch