Merge branch 'jh/close-index-before-stat'
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Jun 2017 00:18:10 +0000 (09:18 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Jun 2017 00:18:10 +0000 (09:18 +0900)
The timestamp of the index file is now taken after the file is
closed, to help Windows, on which a stale timestamp is reported by
fstat() on a file that is opened for writing and data was written
but not yet closed.

* jh/close-index-before-stat:
read-cache: close index.lock in do_write_index

No differences found