Merge branch 'dt/unpack-save-untracked-cache-extension'
commitfa0624f79f9d5765d09598b003124b3cf0b9acdb
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 May 2017 02:16:45 +0000 (30 11:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 May 2017 02:16:45 +0000 (30 11:16 +0900)
tree838b81830a401c56d3b9409a3fd891b00ef6f8ec
parent35d802d296df4c1f9f058c4dc9c934a872df6bfe
parentedf3b90553f5c667cd8cb99aa809305470ba3bd7
Merge branch 'dt/unpack-save-untracked-cache-extension'

When "git checkout", "git merge", etc. manipulates the in-core
index, various pieces of information in the index extensions are
discarded from the original state, as it is usually not the case
that they are kept up-to-date and in-sync with the operation on the
main index.  The untracked cache extension is copied across these
operations now, which would speed up "git status" (as long as the
cache is properly invalidated).

* dt/unpack-save-untracked-cache-extension:
  unpack-trees: preserve index extensions
cache.h
read-cache.c
unpack-trees.c