Re: [PATCH 0/2] [RFD] Using gitrevisions :/search style with other operators
From: Jonathan Nieder <hidden> Date: 2016-06-15 22:50:12
Nguyen Thai Ngoc Duy wrote:
OK so :nth(3)/foo for all branches?
That steals namespace from "the path 'nth(3)/foo' in the index". But
is "the third instance of foo in all branches" something that needs to
be possible to say? Branches do not have a well defined order,
anyway. A command to list all commits with "foo" in the subject
like
git log --oneline --grep-subject=foo
sounds more useful (assuming --grep=foo yields too many false
positives).