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

Re: [PATCH] get_remote_url(): use the same data source as ls-remote to get remote urls

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 28, 2011, 23:38 UTC
Message-ID
<7v4o7nhgr1.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1298885779-10045-1-git-send-email-u.kleine-koenig@pengutronix.de>
Uwe Kleine-König  <u.kleine-koenig@pengutronix.de> writes:
Show 7 quoted lines
> with this patch git-request-pull.sh (== the only in-tree user of
> git-parse-remote.sh:get_remote_url()) could directly use
>
> 	git ls-remote --get-url
>
> .  I guess you wouldn't want to remove git-parse-remote.sh:get_remote_url()
> though?!

If nobody uses it, why not? I was actually hoping for the day that nobody uses any of the defined function so taht we can remove that whole file.

Previous: Uwe Kleine-KönigNext: Uwe Kleine-König
Message 5 of 8 in “bug: request-pull broken when remote name contains a slash”
  1. Uwe Kleine-KönigJan 14, 2011
  2. fix git-parse-remote.sh for remotes that contain slashesStefan Naewe, Jan 14, 2011
  3. Junio C HamanoJan 14, 2011
  4. get_remote_url(): use the same data source as ls-remote to get remote urlsUwe Kleine-König, Feb 28, 2011
  5. Junio C HamanoFeb 28, 2011
  6. Uwe Kleine-KönigMar 1, 2011
  7. 1/2 get_remote_url(): use the same data source as ls-remote to get remote urlsUwe Kleine-König, Mar 1, 2011
  8. 2/2 git-request-pull: open-code the only invocation of get_remote_urlUwe Kleine-König, Mar 1, 2011

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.