From: Junio C Hamano Date: Tue, 21 Sep 2010 23:29:33 GMT Subject: Re: [PATCH] sha1_name.c: update comment to mention :/foo syntax Message-ID: <7vpqw6u142.fsf@alter.siamese.dyndns.org> In-Reply-To: Matthieu Moy writes: >>> + * :/foo -> last commit whose subject starts with foo >> >> Documenting what hasn't been is a good thing, but is it really up-to-date? >> >> Isn't it "a randomly chosen recent commit whose subject contains regexp >> foo" these days? > > I don't know. I was vaguely recalling this one when I wrote the above. commit 57895105c4ff083d7c9bc59b2b88b9b5176c1915 Author: Linus Torvalds Date: Fri Apr 23 08:20:20 2010 -0700 Make :/ accept a regex rather than a fixed pattern This also makes it trigger anywhere in the commit message, rather than just at the beginning. Which tends to be a lot more useful. Signed-off-by: Linus Torvalds Signed-off-by: Junio C Hamano