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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:29

Brian Downing [off-list ref] 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).

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

From: Brian Downing <hidden>
Date: 2016-06-15 22:43:29

On Tue, Aug 14, 2007 at 11:38:24AM -0700, Junio C Hamano wrote:
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).
I really don't understand the implications.  That was just something
that got it working on my end, and I figured I should send it along
in case it was just that simple.

-bcd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help