Re: [PATCH] ls-remote: print URL when no repo is specified
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 9, 2010, 22:01 UTC
- Message-ID
- <20100509220122.GA2098@progeny.tock>
- In-Reply-To
- <1273416140-5044-1-git-send-email-rctay89@gmail.com>
Tay Ray Chuan wrote:
> when no repository is specified, ls-remote may use > the URL/remote in the config "branch.<name>.remote" or the remote > "origin"
[...]
> In such cases, print a simple "From <URL>" line to indicate which > repository was used. This message is similar to git-fetch's
Makes sense. The code and tests look sane.
Testing on Linux and Msysgit does not reveal any problems, either.
Thanks, Jonathan