Merge branch 'jk/reopen-tempfile-truncate'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Sep 2018 17:30:46 +0000 (10:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Sep 2018 17:30:46 +0000 (10:30 -0700)
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

1  2 
t/t0090-cache-tree.sh
tempfile.h
Simple merge
diff --cc tempfile.h
Simple merge