diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:42 -0700 |
commit | 76d70dc0c63fe89958308f249136864aec5cdf03 (patch) | |
tree | aef1deb6d404225ab63348cd55bc6cc30f9c79b7 /resolve-undo.c | |
parent | d3f665550588d19d6d6c9f9064aa3d4685afdf4d (diff) | |
download | git-76d70dc0c63fe89958308f249136864aec5cdf03.tar.gz |
refs.c: make resolve_ref_unsafe set errno to something meaningful on error
Making errno when returning from resolve_ref_unsafe() meaningful,
which should fix
* a bug in lock_ref_sha1_basic, where it assumes EISDIR
means it failed due to a directory being in the way
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'resolve-undo.c')
0 files changed, 0 insertions, 0 deletions