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

Re: [PATCH] Fix remote.<remote>.vcs

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Jan 27, 2010, 17:18 UTC
Message-ID
<20100127171821.GB20820@Knoppix>
In-Reply-To
<fabb9a1e1001270822u7727b0fdq3270ee5bb3ce546c@mail.gmail.com>
On Wed, Jan 27, 2010 at 05:22:07PM +0100, Sverre Rabbelier wrote:
Show 11 quoted lines
> Heya,
> 
> On Wed, Jan 27, 2010 at 17:16, Ilari Liusvaara
> <ilari.liusvaara@elisanet.fi> wrote:
> > it isn't likely anyone is using VCS setting and multiple
> > push URLs, as VCS setting is meant for non-URL-based helpers
> 
> I don't like that assumption, I've used the vcs setting with regular
> urls myself, is there a different way to solve this without
> introducing that assumption? Also, what happens if one _does_ do that,
> do we crash? abort?
If you have url-based remote helper, then use the <helper>::<URL> syntax.

As for what would happen: If you don't override with URL, the first URL would use remote helper specified by vcs setting.

Maybe it would be better idea to have vcs setting set the default helper (that gets used unless you override?)

-Ilari
Previous: Sverre Rabbelier
Message 3 of 3 in “Fix remote.<remote>.vcs”
  1. Fix remote.<remote>.vcsIlari Liusvaara, Jan 27, 2010
  2. Sverre RabbelierJan 27, 2010
  3. Ilari LiusvaaraJan 27, 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.