Merge branch 'jk/reopen-tempfile-truncate'
commit48a81ed29795da3e4cc40d4e5ea535878e4f2d9f
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Sep 2018 17:30:46 +0000 (24 10:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Sep 2018 17:30:46 +0000 (24 10:30 -0700)
tree0bbe3588f5728fa03ae0ef69dc9111ef91479a83
parent9715f10e4206c681313d45efa239a594a0027e60
parent6c003d6ffb7ebd1599e73921cab5e01d7428001d
Merge branch 'jk/reopen-tempfile-truncate'

Fix for a long-standing bug that leaves the index file corrupt when
it shrinks during a partial commit.

* jk/reopen-tempfile-truncate:
  reopen_tempfile(): truncate opened file
t/t0090-cache-tree.sh
tempfile.h