From: Junio C Hamano Date: Wed, 10 Nov 2010 00:18:06 GMT Subject: Re: [RFC] Using gitrevisions :/search style with other operators Message-ID: <7vlj52jakh.fsf@alter.siamese.dyndns.org> In-Reply-To: <20101109102428.5ba8dc13@chalon.bertin.fr> Yann Dirson writes: >> > Syntax like origin/pu^{/Merge 'kb/blame-author-email'}2 would be > ... > Another idea: origin/pu^{:2/Merge 'kb/blame-author-email'} What are these "2"s? You need to question how you figured out the commit you want is the second one reachable (in whatever traversal order) from something in the first place. Didn't you use "git log --oneline" or something to find that out? At that point, you have the object name already, so I doubt such a "counting" feature is of much practical use.