Yes, this is just a refactoring.
The original introduction of the "diff algorithm" choice was done by
a Summer of Code student who just ended up adding the parameter
everywhere it was needed. This is just about taking a slightly more
considered view of the right place to make the choice.
Rebase depends on the diff algorithm for a slightly silly reason -
the "fixup" patches get coalesced to keep them as simple as
possible, and that sometimes involves rerunning file changes through
the diff algorithm.
I was originally planning on hard coding one option for everything
in rebase, but it turned out that there are some commands that end
up invoking rebase that select a value for the diff algorithm based
on a command-line flag, so I decided to hold off from making a
behaviour change for now.
|