3 USAGE='[-n] [-v] <file>...'
27 # Check misspelled pathspec
31 git-ls-files --error-unmatch --others --cached -- "$@" >/dev/null || {
32 echo >&2 "Maybe you misspelled it?"
38 if test -f "$GIT_DIR/info/exclude"
41 --exclude-from="$GIT_DIR/info/exclude" \
42 --others --exclude-per-directory=.gitignore -- "$@"
45 --others --exclude-per-directory=.gitignore -- "$@"
51 git-update-index --add $verbose -z --stdin ;;