summaryrefslogtreecommitdiff
path: root/git-add.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-22 08:35:07 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-22 08:35:07 (GMT)
commit752b0fe287185886f9d89ebe126cd2e185d7e063 (patch)
tree41514057ea4ca7f40e9c5a3c9df1fcafdfe6c23e /git-add.sh
parent6b98579babe767b343bf6e1448b52befd5fc0a2e (diff)
parentaa064743fa69e2806d5e0af1fab103baa6fa57cd (diff)
downloadgit-752b0fe287185886f9d89ebe126cd2e185d7e063.zip
git-752b0fe287185886f9d89ebe126cd2e185d7e063.tar.gz
git-752b0fe287185886f9d89ebe126cd2e185d7e063.tar.bz2
Merge branch 'fix'
* fix: git-push: Update documentation to describe the no-refspec behavior. format-patch: pretty-print timestamp correctly. git-add: Add support for --, documentation, and test.
Diffstat (limited to 'git-add.sh')
-rwxr-xr-xgit-add.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-add.sh b/git-add.sh
index 13fad82..d6a4bc7 100755
--- a/git-add.sh
+++ b/git-add.sh
@@ -14,6 +14,10 @@ while : ; do
-v)
verbose=--verbose
;;
+ --)
+ shift
+ break
+ ;;
-*)
usage
;;