git-checkout-index: documentation updates.
[git] / cmd-rename.sh
1 #!/bin/sh
2 d="$1"
3 test -d "$d" || exit
4 while read old new
5 do
6         rm -f "$d/$old"
7         if test -f "$d/$new"
8         then
9                 ln -s "$new" "$d/$old" || exit
10         fi
11 done <<\EOF
12 git-add-script  git-add
13 git-archimport-script   git-archimport
14 git-bisect-script       git-bisect
15 git-branch-script       git-branch
16 git-checkout-script     git-checkout
17 git-cherry-pick-script  git-cherry-pick
18 git-clone-script        git-clone
19 git-commit-script       git-commit
20 git-count-objects-script        git-count-objects
21 git-cvsimport-script    git-cvsimport
22 git-diff-script git-diff
23 git-send-email-script   git-send-email
24 git-fetch-script        git-fetch
25 git-format-patch-script git-format-patch
26 git-log-script  git-log
27 git-ls-remote-script    git-ls-remote
28 git-merge-one-file-script       git-merge-one-file
29 git-octopus-script      git-octopus
30 git-parse-remote-script git-parse-remote
31 git-prune-script        git-prune
32 git-pull-script git-pull
33 git-push-script git-push
34 git-rebase-script       git-rebase
35 git-relink-script       git-relink
36 git-rename-script       git-rename
37 git-repack-script       git-repack
38 git-request-pull-script git-request-pull
39 git-reset-script        git-reset
40 git-resolve-script      git-resolve
41 git-revert-script       git-revert
42 git-sh-setup-script     git-sh-setup
43 git-status-script       git-status
44 git-tag-script  git-tag
45 git-verify-tag-script   git-verify-tag
46 git-http-pull   git-http-fetch
47 git-local-pull  git-local-fetch
48 git-checkout-cache      git-checkout-index
49 git-diff-cache  git-diff-index
50 git-merge-cache git-merge-index
51 git-update-cache        git-update-index
52 git-convert-cache       git-convert-objects
53 git-fsck-cache  git-fsck-objects
54 EOF