cmd-rename.shon commit [PATCH] Add "git-update-ref" to update the HEAD (or other) ref (66bf85a)
   1#!/bin/sh
   2#
   3# This is for people who installed previous GIT by hand and would want
   4# to remove the backward compatible links:
   5#
   6# ./cmd-rename.sh $bindir
   7#
   8d="$1"
   9test -d "$d" || exit
  10while read old new
  11do
  12        rm -f "$d/$old"
  13done <<\EOF
  14git-add-script  git-add
  15git-archimport-script   git-archimport
  16git-bisect-script       git-bisect
  17git-branch-script       git-branch
  18git-checkout-script     git-checkout
  19git-cherry-pick-script  git-cherry-pick
  20git-clone-script        git-clone
  21git-commit-script       git-commit
  22git-count-objects-script        git-count-objects
  23git-cvsimport-script    git-cvsimport
  24git-diff-script git-diff
  25git-send-email-script   git-send-email
  26git-fetch-script        git-fetch
  27git-format-patch-script git-format-patch
  28git-log-script  git-log
  29git-ls-remote-script    git-ls-remote
  30git-merge-one-file-script       git-merge-one-file
  31git-octopus-script      git-octopus
  32git-parse-remote-script git-parse-remote
  33git-prune-script        git-prune
  34git-pull-script git-pull
  35git-push-script git-push
  36git-rebase-script       git-rebase
  37git-relink-script       git-relink
  38git-rename-script       git-rename
  39git-repack-script       git-repack
  40git-request-pull-script git-request-pull
  41git-reset-script        git-reset
  42git-resolve-script      git-resolve
  43git-revert-script       git-revert
  44git-sh-setup-script     git-sh-setup
  45git-status-script       git-status
  46git-tag-script  git-tag
  47git-verify-tag-script   git-verify-tag
  48git-http-pull   git-http-fetch
  49git-local-pull  git-local-fetch
  50git-checkout-cache      git-checkout-index
  51git-diff-cache  git-diff-index
  52git-merge-cache git-merge-index
  53git-update-cache        git-update-index
  54git-convert-cache       git-convert-objects
  55git-fsck-cache  git-fsck-objects
  56EOF
  57
  58# These two are a bit more than symlinks now.
  59# git-ssh-push  git-ssh-upload
  60# git-ssh-pull  git-ssh-fetch