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

Re: Git archive and trailing "/" in prefix

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Oct 9, 2009, 12:49 UTC
Message-ID
<4ACF316B.5090807@lsrfire.ath.cx>
In-Reply-To
<4ACE62B1.8070801@gmail.com>
Sergio Callegari schrieb:
> I guess the bug in using --prefix on a worktree with subdirs without
> specifying a path is not specific to git archive, then.

The bug should be limited to archive; after my patch all calls to read_tree_recursive() specify an empty base parameter (except in tree.c, where the function itself lives).

René
Previous: Sergio CallegariNext: René Scharfe
Message 4 of 7 in “Git archive and trailing "/" in prefix”
  1. Sergio CallegariOct 8, 2009
  2. Junio C HamanoOct 8, 2009
  3. Sergio CallegariOct 8, 2009
  4. René ScharfeOct 9, 2009
  5. René ScharfeOct 8, 2009
  6. Junio C HamanoOct 9, 2009
  7. Linus TorvaldsOct 8, 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.