3 USAGE
='[-f] [-n] [-v] [--] <file>...'
34 # This is typo-proofing. If some paths match and some do not, we want
39 git-ls-files
--error-unmatch -- "$@" >/dev
/null ||
{
40 echo >&2 "Maybe you misspelled it?"
46 if test -f "$GIT_DIR/info/exclude"
49 --exclude-from="$GIT_DIR/info/exclude" \
50 --exclude-per-directory=.gitignore
-- "$@"
53 --exclude-per-directory=.gitignore
-- "$@"
55 case "$show_only,$remove_files" in
61 while [ \$# -gt 0 ]; do
63 rm -- \"\$file\" && git-update-index --remove $verbose \"\$file\"
68 git-update-index
--force-remove $verbose -z --stdin