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