Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [PATCH] sha1_name.c: update comment to mention :/foo syntax

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:35

Possibly related (same subject, not in this thread)

Matthieu Moy [off-list ref] writes:
quoted
quoted
+	 * :/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 [off-list ref]
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 [off-list ref]
    Signed-off-by: Junio C Hamano [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help