1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-06 17:23:00 +01:00
git/cmd-rename.sh
Junio C Hamano 215a7ad1ef Big tool rename.
As promised, this is the "big tool rename" patch.  The primary differences
since 0.99.6 are:

  (1) git-*-script are no more.  The commands installed do not
      have any such suffix so users do not have to remember if
      something is implemented as a shell script or not.

  (2) Many command names with 'cache' in them are renamed with
      'index' if that is what they mean.

There are backward compatibility symblic links so that you and
Porcelains can keep using the old names, but the backward
compatibility support  is expected to be removed in the near
future.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-09-07 17:45:20 -07:00

53 lines
1.5 KiB
Bash
Executable file

#!/bin/sh
d="$1"
test -d "$d" || exit
while read old new
do
rm -f "$d/$old"
ln -s "$new" "$d/$old"
done <<\EOF
git-add-script git-add
git-archimport-script git-archimport
git-bisect-script git-bisect
git-branch-script git-branch
git-checkout-script git-checkout
git-cherry-pick-script git-cherry-pick
git-clone-script git-clone
git-commit-script git-commit
git-count-objects-script git-count-objects
git-cvsimport-script git-cvsimport
git-diff-script git-diff
git-send-email-script git-send-email
git-fetch-script git-fetch
git-format-patch-script git-format-patch
git-log-script git-log
git-ls-remote-script git-ls-remote
git-merge-one-file-script git-merge-one-file
git-octopus-script git-octopus
git-parse-remote-script git-parse-remote
git-prune-script git-prune
git-pull-script git-pull
git-push-script git-push
git-rebase-script git-rebase
git-relink-script git-relink
git-rename-script git-rename
git-repack-script git-repack
git-request-pull-script git-request-pull
git-reset-script git-reset
git-resolve-script git-resolve
git-revert-script git-revert
git-sh-setup-script git-sh-setup
git-status-script git-status
git-tag-script git-tag
git-verify-tag-script git-verify-tag
git-http-pull git-http-fetch
git-local-pull git-local-fetch
git-ssh-pull git-ssh-fetch
git-checkout-cache git-checkout-index
git-diff-cache git-diff-index
git-merge-cache git-merge-index
git-update-cache git-update-index
git-ssh-push git-ssh-upload
git-convert-cache git-convert-objects
git-fsck-cache git-fsck-objects
EOF