Merge branch 'dt/commit-preserve-base-index-upon-opportunistic-cache-tree-update'
commit81d0e33a225950b3837953572e4ace283341f762
authorJunio C Hamano <gitster@pobox.com>
Tue, 1 Sep 2015 23:31:29 +0000 (1 16:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Sep 2015 23:31:29 +0000 (1 16:31 -0700)
treeedcca9b75eb0ce9fbaace4ebe3c396b9ecdaaf7f
parent0fb8e2423444e104004062ff34f6f6f594c0ff80
parent475a34451f86d1b954c5da37f04ed044544cf6e4
Merge branch 'dt/commit-preserve-base-index-upon-opportunistic-cache-tree-update'

When re-priming the cache-tree opportunistically while committing
the in-core index as-is, we mistakenly invalidated the in-core
index too aggressively, causing the experimental split-index code
to unnecessarily rewrite the on-disk index file(s).

* dt/commit-preserve-base-index-upon-opportunistic-cache-tree-update:
  commit: don't rewrite shared index unnecessarily
builtin/commit.c
t/t0090-cache-tree.sh