author | Junio C Hamano <junkio@cox.net> | |
Thu, 27 Apr 2006 08:33:07 +0000 (01:33 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 27 Apr 2006 08:33:07 +0000 (01:33 -0700) | ||
commit | 7927a55d5bde25702dca4fb1a7d6eb7ef61110ba | |
tree | ed3c465e99f20045c9e5e85d4123e2820a097066 | tree | snapshot |
parent | b34c39cf31e370dad3bcfba29ee8cd023c40fd6b | commit | diff |
read-tree: teach 1-way merege and plain read to prime cache-tree.
This teaches read-tree to fully populate valid cache-tree when
reading a tree from scratch, or reading a single tree into an
existing index, reusing only the cached stat information (i.e.
one-way merge). We have already taught update-index about cache-tree,
so "git checkout" followed by updates to a few path followed by
a "git commit" would become very efficient.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This teaches read-tree to fully populate valid cache-tree when
reading a tree from scratch, or reading a single tree into an
existing index, reusing only the cached stat information (i.e.
one-way merge). We have already taught update-index about cache-tree,
so "git checkout" followed by updates to a few path followed by
a "git commit" would become very efficient.
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache-tree.c | diff | blob | history | |
cache-tree.h | diff | blob | history | |
read-tree.c | diff | blob | history |