Fix parsing of @{-1}@{1}
commitaa9c55b66719c86896d134d35de8c263c078a481
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 17 Jan 2009 18:08:12 +0000 (17 19:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jan 2009 00:36:34 +0000 (19 16:36 -0800)
tree3a979a00c3fa6b01d594c4039eaf337980ab8e80
parentc2883e62f5b9980e5402431f2261c961354d0f15
Fix parsing of @{-1}@{1}

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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c
t/t1505-rev-parse-last.sh