]>
git.ipfire.org Git - thirdparty/git.git/blob - check-builtins.sh
6 $
(foreach b
,$
(BUILT_INS
),echo XXX
$b YYY
;)
10 make -f - sayIt
2>/dev
/null |
11 sed -n -e 's/.*XXX \(.*\) YYY.*/\1/p' |
17 base
=$
(expr "$builtin" : 'git-\(.*\)')
18 x
=$
(sed -ne 's/.*{ "'$base'", \(cmd_[^, ]*\).*/'$base' \1/p' git.c
)
21 echo "$base is builtin but not listed in git.c command list"
26 if test -f "$builtin.$sfx"
28 echo "$base is builtin but $builtin.$sfx still exists"