git.shon commit git-daemon: timeout, eliminate double DWIM (b7080d8)
   1#!/bin/sh
   2
   3cmd=
   4path=$(dirname "$0")
   5case "$#" in
   60)      ;;
   7*)      cmd="$1"
   8        shift
   9        case "$cmd" in
  10        -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
  11                echo "git version @@GIT_VERSION@@"
  12                exit 0 ;;
  13        esac
  14        test -x "$path/git-$cmd" && exec "$path/git-$cmd" "$@" ;;
  15esac
  16
  17echo "Usage: git COMMAND [OPTIONS] [TARGET]"
  18if [ -n "$cmd" ]; then
  19    echo "git command '$cmd' not found."
  20fi
  21echo "git commands are:"
  22
  23fmt <<\EOF | sed -e 's/^/    /'
  24add
  25apply
  26archimport
  27bisect
  28branch
  29checkout
  30cherry
  31clone
  32commit
  33count-objects
  34cvsimport
  35diff
  36fetch
  37format-patch
  38fsck-objects
  39get-tar-commit-id
  40init-db
  41log
  42ls-remote
  43octopus
  44pack-objects
  45parse-remote
  46patch-id
  47prune
  48pull
  49push
  50rebase
  51relink
  52rename
  53repack
  54request-pull
  55reset
  56resolve
  57revert
  58send-email
  59shortlog
  60show-branch
  61status
  62tag
  63verify-tag
  64whatchanged
  65EOF