Merge branch 'jh/close-index-before-stat' into maint

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

Junio C Hamano committed Jun 13, 2017 at 13:27 UTC f24e079cb6ecaa217e593c2d2620187044ba1b0d

No changes.