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