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