Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-repack: Fix variable name
[gitweb.git]
/
git-add.sh
diff --git
a/git-add.sh
b/git-add.sh
index 4bf41281d5554f9b1da103b0360eebc411a435eb..b5fe46aa20865d6785390fd22406d32b00a77845 100755
(executable)
--- a/
git-add.sh
+++ b/
git-add.sh
@@
-1,5
+1,9
@@
#!/bin/sh
+usage() {
+ die "usage: git add [-n] [-v] <file>..."
+}
+
show_only=
verbose=
while : ; do
@@
-10,6
+14,9
@@
while : ; do
-v)
verbose=--verbose
;;
+ -*)
+ usage
+ ;;
*)
break
;;