Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
xread/xwrite: do not worry about EINTR at calling sites.
[gitweb.git]
/
git-fetch.sh
diff --git
a/git-fetch.sh
b/git-fetch.sh
index 14ea295113be9381ce9d4af52f022ce99c75506f..767ca61ca6362b086e70b05f3442fcb4ad475c6a 100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-1,5
+1,7
@@
#!/bin/sh
#
+
+USAGE='<fetch-options> <repository> <refspec>...'
. git-sh-setup
. git-parse-remote
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
@@
-34,6
+36,9
@@
do
-v|--verbose)
verbose=Yes
;;
+ -*)
+ usage
+ ;;
*)
break
;;