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

git index containing tree extension for unknown path

From
Christian Halstrick <christian.halstrick@gmail.com>
Date
Jan 21, 2015, 16:14 UTC
Message-ID
<CAENte7gqKpqr=ENOEN_3s3Fz6gc-Kt70OJyZojbgwhR7YVX6Zg@mail.gmail.com>

Is it allowed that the git index contains a tree extension mentioning patch 'x/y/z' while the only entry in the index is a '.gitattributes' files in the root?

I have such a repo in a bug report against JGit [1]. Native git has no problems with this repo but JGit can't read such an index. I am wondering whether such a index is valid.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=457152
Next: Junio C Hamano
Message 1 of 3 in “git index containing tree extension for unknown path”
  1. Christian HalstrickJan 21, 2015
  2. Junio C HamanoJan 21, 2015
  3. Christian HalstrickJan 23, 2015

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.