author | Jeff King <peff@peff.net> | |
Thu, 28 Jan 2010 09:56:43 +0000 (04:56 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Jan 2010 20:12:50 +0000 (12:12 -0800) | ||
commit | 12a258c078da3481a5735a7dca00bbe75cd4713b | |
tree | 41f0b1629f18dc9075db04571102b70fbcde15d9 | tree | snapshot |
parent | d46a8301930ae83de30fbbbbce1bb02a98745204 | commit | diff |
reject @{-1} not at beginning of object name
Something like foo@{-1} is nonsensical, as the @{-N} syntax
is reserved for "the Nth last branch", and is not an actual
reflog selector. We should not feed such nonsense to
approxidate at all.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something like foo@{-1} is nonsensical, as the @{-N} syntax
is reserved for "the Nth last branch", and is not an actual
reflog selector. We should not feed such nonsense to
approxidate at all.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c | diff | blob | history | |
t/t1508-at-combinations.sh | diff | blob | history |