Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git ls-remote: make usage string match manpage
author
Stefan Naewe
<stefan.naewe@atlas-elektronik.com>
Tue, 11 Nov 2008 15:52:31 +0000
(16:52 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Nov 2008 21:24:00 +0000
(13:24 -0800)
The usage string of 'git ls-remote' is pretty terse. The manpage
however gives the correct 'synopsis'.
Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-ls-remote.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
912f998
)
diff --git
a/builtin-ls-remote.c
b/builtin-ls-remote.c
index c21b841e7c5e8d27a6e66e7f70786d77aa4653b5..78a88f74769645f0be86aa77d3dee3f5e99c916f 100644
(file)
--- a/
builtin-ls-remote.c
+++ b/
builtin-ls-remote.c
@@
-4,7
+4,7
@@
#include "remote.h"
static const char ls_remote_usage[] =
-"git ls-remote [--
upload-pack=<git-upload-pack>] [<host>:]<directory>
";
+"git ls-remote [--
heads] [--tags] [-u <exec> | --upload-pack <exec>] <repository> <refs>...
";
/*
* Is there one among the list of patterns that match the tail part