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>
This commit is contained in:

committed by
Junio C Hamano

parent
c2883e62f5
commit
aa9c55b667
@ -54,7 +54,7 @@ test_expect_success '@{-1}^2 works' '
|
||||
test_rev_equivalent side^2 @{-1}^2
|
||||
'
|
||||
|
||||
test_expect_failure '@{-1}@{1} works' '
|
||||
test_expect_success '@{-1}@{1} works' '
|
||||
test_rev_equivalent side@{1} @{-1}@{1}
|
||||
'
|
||||
|
||||
|
Reference in New Issue
Block a user