diff options
author | 2021-10-08 17:46:38 -0400 | |
---|---|---|
committer | 2021-10-15 13:08:11 -0700 | |
commit | ae22e8415d5ec2b52a4c83e181297ac15aeaced0 (patch) | |
tree | 02151eb52b59cfd8f816743f1f4fcd24971c7360 /Documentation/git-fmt-merge-msg.txt | |
parent | midx.c: lookup MIDX by object directory during repack (diff) | |
download | tgif-ae22e8415d5ec2b52a4c83e181297ac15aeaced0.tar.xz |
midx.c: guard against commit_lock_file() failures
When writing a MIDX, we atomically move the new MIDX into place via
commit_lock_file(), but do not check to see if that call was successful.
Make sure that we do check in order to prevent us from incorrectly
reporting that we wrote a new MIDX if we actually encountered an error.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fmt-merge-msg.txt')
0 files changed, 0 insertions, 0 deletions