chiark / gitweb /
git-debrebase: Provide new get_tree and trees_diff_walk
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 15:42:57 +0000 (16:42 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 16:46:00 +0000 (17:46 +0100)
commitb39329c0ead53a3f51ed7c7fa946a79ff9463f18
tree7fbf6780e40a6a2828a47394941936321e81d288
parent40239ebd30018360ab82a1651dd11e2e700410b4
git-debrebase: Provide new get_tree and trees_diff_walk

These are ways to avoid calling git-diff-tree, which is very slow even
with --name-only --no-renames and without recursion.  I think it is
doing all the work to make nice actual diffs, and then throwing them
away.

Two calls to git-ls-tree is about 20x faster than git-diff-tree
on the Linux kernel, for example.

No functional change in this commit, since no callers yet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase