author | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Sep 2006 21:14:31 +0000 (14:14 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Sep 2006 22:07:58 +0000 (15:07 -0700) | ||
commit | 5cc3cef997503e7543d927dbe23daca891131168 | |
tree | 3708e1d52d7af5930d327b8976c1cdae8ba064e4 | tree | snapshot |
parent | 5e290ff75a0e6996f297dc438aceb8e1f29a20a5 | commit | diff |
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>
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 | diff | blob | history |