diff options
Diffstat (limited to 'git-add.sh')
-rwxr-xr-x | git-add.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-add.sh b/git-add.sh index a8498c729a..4bf41281d5 100755 --- a/git-add.sh +++ b/git-add.sh @@ -23,10 +23,10 @@ if test -f "$GIT_DIR/info/exclude" then git-ls-files -z \ --exclude-from="$GIT_DIR/info/exclude" \ - --others --exclude-per-directory=.gitignore "$@" + --others --exclude-per-directory=.gitignore -- "$@" else git-ls-files -z \ - --others --exclude-per-directory=.gitignore "$@" + --others --exclude-per-directory=.gitignore -- "$@" fi | case "$show_only" in true) |