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

Re: bug in git-archive?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 3, 2007, 16:09 UTC
Message-ID
<Pine.LNX.4.63.0703031707540.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<esc64d$d2u$1@sea.gmane.org>
Hi,
On Sat, 3 Mar 2007, Nick Williams wrote:
Show 8 quoted lines
> git-archive only archives the current working dir (and sub dirs) even 
> when no paths are specified. For example, if I do
> 
> git archive --format=tar --prefix=git-1.5.0.2/ HEAD > ~/test/test.tar
> 
> > from with in the Documentation dir, then I only get part of the tree.
> 
> Is this the intended behavior?
It is. So, the documentation is wrong.

Ciao, Dscho

Previous: Nick WilliamsNext: René Scharfe
Message 2 of 10 in “bug in git-archive?”
  1. Nick WilliamsMar 3, 2007
  2. Johannes SchindelinMar 3, 2007
  3. git-archive: document CWD effectRené Scharfe, Apr 8, 2007
  4. Junio C HamanoApr 8, 2007
  5. René ScharfeApr 9, 2007
  6. Junio C HamanoApr 9, 2007
  7. Andy ParkinsApr 9, 2007
  8. René ScharfeApr 10, 2007
  9. Junio C HamanoApr 10, 2007
  10. René ScharfeApr 11, 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.