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

Re: [PATCH] Add read_cache to builtin-check-attr

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 14, 2007, 18:38 UTC
Message-ID
<7vhcn2c673.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11870975181798-git-send-email-bdowning@lavos.net>
Brian Downing <bdowning@lavos.net> writes:
> We can now read .gitattributes files out of the index, but the index
> must be loaded for this to work.

That interface is at too low a level, I am afraid. Many commands do want to control when they read the index and it affects the result, especially when the work tree traversal implemented in dir.c is involved.

I am not rejecting/objecting, but just raising concerns. I do not have time to review this today, but just wanted to see if you fully assessed the implications (and if so that would save work on my end).

Previous: Johannes SchindelinNext: Brian Downing
Message 6 of 8 in “Add read_cache to builtin-check-attr”
  1. Add read_cache to builtin-check-attrBrian Downing, Aug 14, 2007
  2. Brian DowningAug 14, 2007
  3. Johannes SchindelinAug 14, 2007
  4. Brian DowningAug 14, 2007
  5. Johannes SchindelinAug 14, 2007
  6. Junio C HamanoAug 14, 2007
  7. Brian DowningAug 14, 2007
  8. Junio C HamanoAug 15, 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.