9 test -x $path/git-
$cmd-script && exec $path/git-
$cmd-script "$@"
10 test -x $path/git-
$cmd && exec $path/git-
$cmd "$@" ;;
13 echo "Usage: git COMMAND [OPTIONS] [TARGET]"
14 if [ -n "$cmd" ]; then
15 echo " git command '$cmd' not found: commands are:"
17 echo " git commands are:"
20 alternatives
=$
(cd $path &&
21 ls git-
*-script |
sed -e 's/git-//' -e 's/-script//')
22 echo $alternatives |
fmt |
sed 's/^/ /'