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

Re: [PATCH] Allow curl helper to work without a local repository

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Nov 4, 2009, 07:21 UTC
Message-ID
<alpine.LNX.2.00.0911040211240.14365@iabervon.org>
In-Reply-To
<fabb9a1e0911032132v5e76e4b6n559169ad43d9f7c0@mail.gmail.com>
On Wed, 4 Nov 2009, Sverre Rabbelier wrote:
Show 9 quoted lines
> Heya,
> 
> On Wed, Nov 4, 2009 at 03:52, Daniel Barkalow <barkalow@iabervon.org> wrote:
> > This is the simple change to let remote-curl work without a local
> > repository for git ls-remote; it leave the transport-helper code assuming
> > that all helpers can list without a local repo, which happens to be true
> > of this helper, the only one in current git.
> 
> Add a capability for it? :P

That's the longer-term patch, yes. But doing anything meaningful with that requires communicating down to transport-helper that we're not in a local repo, which shades into reworking the whole setup/environment code. That's why I went with the easy patch for now, since it does fix the bug.

	-Daniel
*This .sig left intentionally blank*
Previous: Sverre Rabbelier
Message 3 of 3 in “Allow curl helper to work without a local repository”
  1. Allow curl helper to work without a local repositoryDaniel Barkalow, Nov 4, 2009
  2. Sverre RabbelierNov 4, 2009
  3. Daniel BarkalowNov 4, 2009

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.