mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-26 03:51:40 -05:00
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>
62 KiB
62 KiB