Code

git-pickaxe: cache one already found path per commit.
authorJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 09:00:01 +0000 (01:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 09:00:01 +0000 (01:00 -0800)
commit0d981c67d8bcf4610e165744059c1e9e14609baa
tree410320bb548cf1825f2f92fa9886b736d354fa65
parentf69e743d97cdb3f6647ea0620a22311e7bf36051
git-pickaxe: cache one already found path per commit.

Depending on how bushy the commit DAG is, this saves calls to
the internal diff-tree for fork-point commits.  For example,
annotating Makefile in the kernel repository saves about a third
of such diff-tree calls.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pickaxe.c