git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
43a95cf
)
git-fetch: Usage string clean-up, emit usage string at unrecognized option
author
freku045@student.liu.se
<redacted>
Tue, 13 Dec 2005 22:30:31 +0000
(23:30 +0100)
committer
Junio C Hamano
<redacted>
Wed, 14 Dec 2005 10:53:44 +0000
(
02:53
-0800)
Signed-off-by: Fredrik Kuivinen <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-fetch.sh
patch
|
blob
|
history
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
;;
git clone https://git.99rst.org/PROJECT