Re: [PATCH] ls-remote: document the '--get-url' option

2012-09-07 Thread Junio C Hamano
Stefan Naewe writes: > 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

Re: [PATCH] ls-remote: document the '--get-url' option

2012-09-07 Thread Stefan Naewe
On Fri, Sep 7, 2012 at 10:28 AM, Andreas Schwab wrote: > Stefan Naewe writes: > >> +--get-url:: >> + Expand the URL of the given remote repository taking into account any >> + "url..insteadOf" config setting (See linkgit:git-config[1]). > > This should probably also mention that it suppre

Re: [PATCH] ls-remote: document the '--get-url' option

2012-09-07 Thread Andreas Schwab
Stefan Naewe writes: > +--get-url:: > + Expand the URL of the given remote repository taking into account any > + "url..insteadOf" config setting (See linkgit:git-config[1]). This should probably also mention that it suppresses the normal output. (I wonder why this isn't a subcommand of

[PATCH] ls-remote: document the '--get-url' option

2012-09-06 Thread Stefan Naewe
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: S

Re: [PATCH] ls-remote: document the '--get-url' option

2012-09-06 Thread Junio C Hamano
Stefan Naewe writes: > 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. > > Signed-off-by: Stefan Naewe > --- > Doc

[PATCH] ls-remote: document the '--get-url' option

2012-09-06 Thread Stefan Naewe
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. Signed-off-by: Stefan Naewe --- Documentation/git-ls-remote.txt | 4