tests: at-combinations: check ref names directly
commitc8a81e90acda9da55bae627928e80b04e98980fc
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 7 May 2013 21:55:02 +0000 (7 16:55 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2013 16:15:37 +0000 (8 09:15 -0700)
tree11af3d6c626904aa7b40c92c5ed9837fbe90f99f
parent1bc6d022b731e4cf69de42fea75c5f6366d2dbae
tests: at-combinations: check ref names directly

Some committishes might point to the same commit, but through a
different ref, that's why it's better to check directly for the ref,
rather than the commit message.

We can do that by calling rev-parse --symbolic-full-name, and to
differentiate the old from the new behavior we add an extra argument to
the check() helper.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1508-at-combinations.sh