]>
git.ipfire.org Git - thirdparty/git.git/blob - git
4 if which git-
$cmd-script >& /dev
/null
6 exec git-
$cmd-script "$@"
9 if which git-
$cmd >& /dev
/null
14 alternatives
=($
(echo $PATH |
tr ':' '\n' |
while read i
; do ls $i/git-
*-script 2> /dev
/null
; done))
16 echo Git
command "'$cmd'" not found. Try one of
17 for i
in "${alternatives[@]}"; do
18 echo $i |
sed 's:^.*/git-: :' |
sed 's:-script$::'