diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:41 -0700 |
commit | 835e3c992fd453d172466be29283b55a792cac76 (patch) | |
tree | df0f27afd2571eff1ad12591d000834f80c333eb /gitweb/INSTALL | |
parent | refs.c: make sure log_ref_setup returns a meaningful errno (diff) | |
download | tgif-835e3c992fd453d172466be29283b55a792cac76.tar.xz |
refs.c: verify_lock should set errno to something meaningful
Making errno when returning from verify_lock() meaningful, which
should almost but not completely fix
* a bug in "git fetch"'s s_update_ref, which trusts the result of an
errno == ENOTDIR check to detect D/F conflicts
ENOTDIR makes sense as a sign that a file was in the way of a
directory we wanted to create. Should "git fetch" also look for
ENOTEMPTY or EEXIST to catch cases where a directory was in the way
of a file to be created?
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 'gitweb/INSTALL')
0 files changed, 0 insertions, 0 deletions