summaryrefslogtreecommitdiff
path: root/builtin/fmt-merge-msg.c
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2017-04-26 22:05:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-28 12:40:24 +0900
commit9f41c7a6b3e3cc3ac4a739364400393fa2492880 (patch)
tree38753a8a56b7bc5e6a2a856780a9430f025f74e0 /builtin/fmt-merge-msg.c
parentPrepare for 2.12.3 (diff)
downloadtgif-9f41c7a6b3e3cc3ac4a739364400393fa2492880.tar.xz
read-cache: close index.lock in do_write_index
Teach do_write_index() to close the index.lock file before getting the mtime and updating the istate.timestamp fields. On Windows, a file's mtime is not updated until the file is closed. On Linux, the mtime is set after the last flush. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fmt-merge-msg.c')
0 files changed, 0 insertions, 0 deletions