summaryrefslogtreecommitdiff
path: root/bulk-checkin.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-01-18 23:48:55 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-21 13:46:30 -0800
commite5c223e98b985d9faa274039aefa4391d2da25a6 (patch)
tree30c86f94026bed250aa888d6b81ea414cba9fcfb /bulk-checkin.c
parentlock_ref_sha1_basic(): on SCLD_VANISHED, retry (diff)
downloadtgif-e5c223e98b985d9faa274039aefa4391d2da25a6.tar.xz
lock_ref_sha1_basic(): if locking fails with ENOENT, retry
If hold_lock_file_for_update() fails with errno==ENOENT, it might be because somebody else (for example, a pack-refs process) has just deleted one of the lockfile's ancestor directories. So if this condition is detected, try again (up to 3 times). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bulk-checkin.c')
0 files changed, 0 insertions, 0 deletions