summaryrefslogtreecommitdiff
path: root/git-add.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-add.sh')
-rwxr-xr-xgit-add.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-add.sh b/git-add.sh
index a8498c7..4bf4128 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)