cmd-rename.shon commit Merge http://www.kernel.org/pub/scm/gitk/gitk (5e80092)
   1#!/bin/sh
   2#
   3# If you installed git by hand previously, you may find this
   4# script useful to remove the symbolic links that we shipped
   5# for backward compatibility.
   6#
   7# Running this script with the previous installation directory
   8# like this:
   9#
  10# $ cmd-rename.sh /usr/local/bin/
  11#
  12# would clean them.
  13
  14d="$1"
  15test -d "$d" || exit
  16while read old new
  17do
  18        rm -f "$d/$old"
  19done <<\EOF
  20git-add-script  git-add
  21git-archimport-script   git-archimport
  22git-bisect-script       git-bisect
  23git-branch-script       git-branch
  24git-checkout-script     git-checkout
  25git-cherry-pick-script  git-cherry-pick
  26git-clone-script        git-clone
  27git-commit-script       git-commit
  28git-count-objects-script        git-count-objects
  29git-cvsimport-script    git-cvsimport
  30git-diff-script git-diff
  31git-send-email-script   git-send-email
  32git-fetch-script        git-fetch
  33git-format-patch-script git-format-patch
  34git-log-script  git-log
  35git-ls-remote-script    git-ls-remote
  36git-merge-one-file-script       git-merge-one-file
  37git-octopus-script      git-octopus
  38git-parse-remote-script git-parse-remote
  39git-prune-script        git-prune
  40git-pull-script git-pull
  41git-push-script git-push
  42git-rebase-script       git-rebase
  43git-relink-script       git-relink
  44git-rename-script       git-rename
  45git-repack-script       git-repack
  46git-request-pull-script git-request-pull
  47git-reset-script        git-reset
  48git-resolve-script      git-resolve
  49git-revert-script       git-revert
  50git-sh-setup-script     git-sh-setup
  51git-status-script       git-status
  52git-tag-script  git-tag
  53git-verify-tag-script   git-verify-tag
  54git-http-pull   git-http-fetch
  55git-local-pull  git-local-fetch
  56git-checkout-cache      git-checkout-index
  57git-diff-cache  git-diff-index
  58git-merge-cache git-merge-index
  59git-update-cache        git-update-index
  60git-convert-cache       git-convert-objects
  61git-fsck-cache  git-fsck-objects
  62EOF