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

Re: [PATCH] Make it possible to run git archive --remote without a git directory.

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Apr 5, 2007, 23:21 UTC
Message-ID
<4615846C.9020705@lsrfire.ath.cx>
In-Reply-To
<200704052147.39255.simon@lst.de>
Simon Hausmann schrieb:
Show 7 quoted lines
> On Thursday 05 April 2007 10:12:37 Simon Hausmann wrote:
> [...]
> 
> Sorry, for replying to my own mail, but attached is a revised patch that also 
> allows --list to work without a git dir, as pointed out by Jeff Garzik.
> 
> Would be nice if the patch could be applied to git :)

Oh, saw your patch just now -- of course only _after_ I sent mine. Still, I like my patch better because it reverts the code to a known good version and it adds a test case. And maybe a little bit because it's mine. ;-)

I forgot addressing the 'git-archive --remote' case, though. The code is fine (i.e. --remote works outside a repo with the patch applied), but a test case for that is missing. Care to provide this missing piece on top of my patch?

Thanks, René

Previous: Simon Hausmann
Message 3 of 3 in “Make it possible to run git archive --remote without a git directory.”
  1. Make it possible to run git archive --remote without a git directory.Simon Hausmann, Apr 5, 2007
  2. Simon HausmannApr 5, 2007
  3. René ScharfeApr 5, 2007

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.