git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 2 of 12 in “ls-remote: print URL when no repo is specified”
  1. ls-remote: print URL when no repo is specifiedTay Ray Chuan, May 9, 2010
  2. Jonathan NiederMay 9, 2010
  3. ls-remote: print URL when no repo is specifiedTay Ray Chuan, May 11, 2010
  4. Junio C HamanoMay 12, 2010
  5. Tay Ray ChuanMay 14, 2010
  6. Jonathan NiederMay 14, 2010
  7. Tay Ray ChuanMay 15, 2010
  8. Jonathan NiederMay 15, 2010
  9. Junio C HamanoMay 20, 2010
  10. Geert BoschMay 16, 2010
  11. Sverre RabbelierMay 16, 2010
  12. Geert BoschMay 16, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.