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

Re: [BUG] git archive formats and dashdash

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Dec 10, 2009, 22:25 UTC
Message-ID
<20091210222503.GA27840@Knoppix>
In-Reply-To
<7v1vj2a3ik.fsf@alter.siamese.dyndns.org>
On Thu, Dec 10, 2009 at 02:05:39PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
> Ilari Liusvaara <ilari.liusvaara@elisanet.fi> writes:
> 
> > --format option of git archive stops working if -- is used:
> 
> Good catch.  Is this a regression between 1.6.5 and the current code?
Doesn't appear to be so:

Based on quick look at source, it seems that this is indeed regression, and the commit which introduced it is:

commit 0f4b377c20fb7d93f8bfeec39efb2b9392d6aebc
Author: Dmitry Potapov <dpotapov@gmail.com>
Date:   Mon Sep 14 00:17:01 2009 +0400
Describe: v1.6.5-rc1-7-g0f4b377 / v1.6.5-rc2~34
-Ilari
Previous: Junio C HamanoNext: Miklos Vajna
Message 10 of 11 in “[BUG] git archive formats and dashdash”
  1. Ilari LiusvaaraDec 10, 2009
  2. Junio C HamanoDec 10, 2009
  3. Miklos VajnaDec 10, 2009
  4. Junio C HamanoDec 10, 2009
  5. Fix archive format with -- on the command lineJunio C Hamano, Dec 10, 2009
  6. Junio C HamanoDec 10, 2009
  7. René ScharfeDec 12, 2009
  8. Nanako ShiraishiDec 30, 2009
  9. Junio C HamanoDec 30, 2009
  10. Ilari LiusvaaraDec 10, 2009
  11. builtin-archive: insert --format before double dash if necessary.Miklos Vajna, Dec 10, 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.