diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2017-04-26 22:05:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-28 12:40:24 +0900 |
commit | 9f41c7a6b3e3cc3ac4a739364400393fa2492880 (patch) | |
tree | 38753a8a56b7bc5e6a2a856780a9430f025f74e0 /gitweb/static/js/README | |
parent | Prepare for 2.12.3 (diff) | |
download | tgif-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 'gitweb/static/js/README')
0 files changed, 0 insertions, 0 deletions