]> granicus.if.org Git - git/commitdiff
Merge branch 'jk/reopen-tempfile-truncate' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:57:43 +0000 (22:57 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Nov 2018 13:57:43 +0000 (22:57 +0900)
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