From 2303cad242a6ccc4745d7994ecc0425bd8513a0d Mon Sep 17 00:00:00 2001 From: Stefan Naewe Date: Fri, 7 Sep 2012 08:41:19 +0200 Subject: ls-remote: document the '--get-url' option While looking for a way to expand the URL of a remote that uses a 'url..insteadOf' config option I stumbled over the undocumented '--get-url' option of 'git ls-remote'. This adds some minimum documentation for that option. And while at it, also add that option to the '-h' output. Signed-off-by: Stefan Naewe Signed-off-by: Junio C Hamano --- builtin/ls-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin') diff --git a/builtin/ls-remote.c b/builtin/ls-remote.c index 41c88a98a2..25e83cfe9d 100644 --- a/builtin/ls-remote.c +++ b/builtin/ls-remote.c @@ -5,7 +5,7 @@ static const char ls_remote_usage[] = "git ls-remote [--heads] [--tags] [-u | --upload-pack ]\n" -" [-q|--quiet] [--exit-code] [ [...]]"; +" [-q|--quiet] [--exit-code] [--get-url] [ [...]]"; /* * Is there one among the list of patterns that match the tail part -- cgit v1.2.1