Merge branch 'fixes'
[gitweb.git] / git-add.sh
index a8498c729ab3188bd21dd6a54ddc77d4c34ac48a..4bf41281d5554f9b1da103b0360eebc411a435eb 100755 (executable)
@@ -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)