chiark / gitweb /
git-debrebase: Rewrite get_differs in terms of trees_diff_walk
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 16:49:17 +0000 (17:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 16:52:27 +0000 (17:52 +0100)
commit5d8dfa9c2c0be56eaf85d7ce60ed38182878babd
treee22e28d93490acc73d4eef26a2c21da162474699
parente2a5e5241eb7e838c6d483800bde4bdb67af3949
git-debrebase: Rewrite get_differs in terms of trees_diff_walk

As noted, git-diff-tree is quite slow.  We can do much better, by
stepping across the two trees ourselves.

There should be no particularly significant change: the answers should
be the same for reasonable inputs.  Unreasonable inputs (particularly,
executable files etc.) may be handled better, even.

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