From: Eric Raible Date: Thu, 03 Jul 2008 08:50:18 GMT Subject: Re: ':/' notation doesn't support full file syntax Message-ID: <279b37b20807030150t2e9cbcc8wf099a5872568af8@mail.gmail.com> In-Reply-To: <7vfxqr2won.fsf@gitster.siamese.dyndns.org> On Thu, Jul 3, 2008 at 1:34 AM, Junio C Hamano wrote: > "Eric Raible" writes: > > Is there anything to fix? In that example, you are looking for a commit > that talks about "object name:sha1_name.c" in the comment. Yes. What if I'm looking for specific file (i.e. sha1_name.c) in the commit described by ":/object name:", just like I can do with 28a4d9404:sha1_name.c? This is not ambiguous if we first consider the entire string as the prefix. If that fails we look for a filename after the final ':'. I'll post a patch in a moment. - Eric