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