Code

lock_ref_sha1(): do not sometimes error() and sometimes die().
authorJunio C Hamano <junkio@cox.net>
Sat, 30 Sep 2006 21:14:31 +0000 (14:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 30 Sep 2006 22:07:58 +0000 (15:07 -0700)
commit5cc3cef997503e7543d927dbe23daca891131168
tree3708e1d52d7af5930d327b8976c1cdae8ba064e4
parent5e290ff75a0e6996f297dc438aceb8e1f29a20a5
lock_ref_sha1(): do not sometimes error() and sometimes die().

This cleans up the error path in the function so it does not
die() itself sometimes while signalling an error with NULL some
other times which was inconsistent and confusing.

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