author | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Oct 2011 20:45:50 +0000 (13:45 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Oct 2011 20:58:15 +0000 (13:58 -0700) | ||
commit | 98ac34b2b1968e16fbf7f6122a53b73c6caaff49 | |
tree | 7d3e9a15ec0968b13d6bed9cd463893249280586 | tree | snapshot |
parent | ff74f7f1187cbf1b46e85ed1bde1f194991f919c | commit | diff |
resolve_ref(): expose REF_ISBROKEN flag
Instead of keeping this as an internal API, let the callers find
out the reason why resolve_ref() returned NULL is not because there
was no such file in $GIT_DIR but because a file was corrupt.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Instead of keeping this as an internal API, let the callers find
out the reason why resolve_ref() returned NULL is not because there
was no such file in $GIT_DIR but because a file was corrupt.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history | |
refs.h | diff | blob | history |