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

Re: [PATCH] get_tree_entry: map blank requested entry to tree root

From
Junio C Hamano <junkio@cox.net>
Date
Jan 10, 2007, 00:57 UTC
Message-ID
<7vac0rhf6g.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070110004633.GA14345@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
>  - git-archive feeds the 'prefix' variable to get_tree_entry; it works
>    fine in the root with or without the patch. I seem to be getting an
>    error, with or without my patch, when doing a git-archive from a
>    subdirectory:
>      $ git-archive --format=tar origin >/dev/null
>      $ cd Documentation
>      $ git-archive --format=tar origin >/dev/null
>      fatal: cannot read c87c61af00c6d2cd7212240e260809000000aaab
>    but I haven't been able to track it down further. It's clearly
>    unrelated to my patch, though.

I've noticed this while looking at your patch and fixed it in my tree already.

Previous: Jeff KingNext: Jeff King
Message 5 of 7 in “get_tree_entry: map blank requested entry to tree root”
  1. get_tree_entry: map blank requested entry to tree rootJeff King, Jan 9, 2007
  2. Johannes SchindelinJan 9, 2007
  3. Junio C HamanoJan 9, 2007
  4. Jeff KingJan 10, 2007
  5. Junio C HamanoJan 10, 2007
  6. Jeff KingJan 10, 2007
  7. Junio C HamanoJan 10, 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.