Code

Make sure we barf on ref^{type} failure.
authorJunio C Hamano <junkio@cox.net>
Thu, 20 Oct 2005 05:48:16 +0000 (22:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 20 Oct 2005 05:49:31 +0000 (22:49 -0700)
commit6e1c6c103c522d01829f3a63992a023ff031e851
tree50f9bed9a78e1f51178ebf6be3cd9c20b2ffcb0b
parentf1f0a2be9fe6e6734d900381de189c56e023be7e
Make sure we barf on ref^{type} failure.

Martin Langhoff noticed that ref^0 barfed correctly when we did not
have the commit in a broken repository, but ref^{commit} didn't.

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c