Re: 'git grep needle rev' attempts to access 'rev:.../.gitattributes' in the worktree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 9, 2012, 18:59 UTC
- Message-ID
- <7vk3uzfp3p.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20121009124144.GB12465@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I think we just need to have callers of grep_source_init provide us with > the actual pathname (or NULL, in the case of GREP_SOURCE_BUF). That is > where the information is lost.
Yes. I agree that is the right approach.