mirror of
https://github.com/git/git.git
synced 2026-01-31 04:52:32 +00: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