Re: [PATCH 6/5] Fix parsing of @{-1}@{1}
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 17, 2009, 20:02 UTC
- Message-ID
- <7vsknh66qu.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0901171907530.3586@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 9 quoted lines
> 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 @{-<N>} notation.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>
> 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?