summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 912f998)
raw | patch | inline | side by side (parent: 912f998)
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>
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 |
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
#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