diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:42 -0700 |
commit | dc615de8610c807633c63313937056bf45df0b8f (patch) | |
tree | a11c6e51b933a942f4f01335ebd3513d85168eb1 /Documentation/git-mergetool.txt | |
parent | refs.c: make resolve_ref_unsafe set errno to something meaningful on error (diff) | |
download | tgif-dc615de8610c807633c63313937056bf45df0b8f.tar.xz |
refs.c: log_ref_write should try to return meaningful errno
Making errno from write_ref_sha1() meaningful, which should fix
* a bug in "git checkout -b" where it prints strerror(errno)
despite errno possibly being zero or clobbered
* a bug in "git fetch"'s s_update_ref, which trusts the result of an
errno == ENOTDIR check to detect D/F conflicts
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 'Documentation/git-mergetool.txt')
0 files changed, 0 insertions, 0 deletions