From: Junio C Hamano Date: Tue, 09 Oct 2012 18:59:54 GMT Subject: Re: 'git grep needle rev' attempts to access 'rev:.../.gitattributes' in the worktree Message-ID: <7vk3uzfp3p.fsf@alter.siamese.dyndns.org> In-Reply-To: <20121009124144.GB12465@sigill.intra.peff.net> Jeff King 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.