From: Junio C Hamano Date: Sat, 17 Jan 2009 20:02:33 GMT Subject: Re: [PATCH 6/5] Fix parsing of @{-1}@{1} Message-ID: <7vsknh66qu.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > To do that, Git no longer looks forward for the '@{' corresponding to the > closing '}' but backward, and dwim_ref() as well as dwim_log() learnt > about the @{-} notation. > > Signed-off-by: Johannes Schindelin > --- > > The modifications of dwim_ref() and dwim_log() are probably > more important than the issue I tried to fix... Good, so we can say things like: git log -g @{-1} git show-branch -g @{-1} with this? By the way, I noticed that without these patch series we show something when "git rev-parse --verify @{-1}" is asked for. What is it trying to show?