[PATCH] Finish documenting trivial merge rules
[git/dscho.git] / cmd-rename.sh
blobad3285b7977b7dd1a7f152652004b2731e75b8cb
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 [ -x "$d/$new" ]; then
8 ln -s "$new" "$d/$old"
9 fi
10 done <<\EOF
11 git-add-script git-add
12 git-archimport-script git-archimport
13 git-bisect-script git-bisect
14 git-branch-script git-branch
15 git-checkout-script git-checkout
16 git-cherry-pick-script git-cherry-pick
17 git-clone-script git-clone
18 git-commit-script git-commit
19 git-count-objects-script git-count-objects
20 git-cvsimport-script git-cvsimport
21 git-diff-script git-diff
22 git-send-email-script git-send-email
23 git-fetch-script git-fetch
24 git-format-patch-script git-format-patch
25 git-log-script git-log
26 git-ls-remote-script git-ls-remote
27 git-merge-one-file-script git-merge-one-file
28 git-octopus-script git-octopus
29 git-parse-remote-script git-parse-remote
30 git-prune-script git-prune
31 git-pull-script git-pull
32 git-push-script git-push
33 git-rebase-script git-rebase
34 git-relink-script git-relink
35 git-rename-script git-rename
36 git-repack-script git-repack
37 git-request-pull-script git-request-pull
38 git-reset-script git-reset
39 git-resolve-script git-resolve
40 git-revert-script git-revert
41 git-sh-setup-script git-sh-setup
42 git-status-script git-status
43 git-tag-script git-tag
44 git-verify-tag-script git-verify-tag
45 git-http-pull git-http-fetch
46 git-local-pull git-local-fetch
47 git-checkout-cache git-checkout-index
48 git-diff-cache git-diff-index
49 git-merge-cache git-merge-index
50 git-update-cache git-update-index
51 git-convert-cache git-convert-objects
52 git-fsck-cache git-fsck-objects
53 EOF
55 # These two are a bit more than symlinks now.
56 # git-ssh-push git-ssh-upload
57 # git-ssh-pull git-ssh-fetch