Package: git-buildpackage
Version: 0.9.39

Dear git-buildpackage maintainers,

commit 34a63bf fixed https://bugs.debian.org/1030044 by forcing the diff algorithm using `--diff-algorithm=default`. While this fixes the problem right now, it will lead to a lot of churn as soon as Git 3.0 will be released in 2026. There is consensus upstream to change the default algorithm from `myers` to `histogram`. (And rightly so: except in pathological cases, the histogram algorithm always produces more "meaningful" deltas/patches than Myers' algorithm. Pretty much all forges already moved to the histogram algorithm for online visualization.)

There will be a period in which some Debian developers will use Git 2.x and others Git 3.x. In that period the issue described in #1030044 will appear again, but it will not be fixable without changes to the code of gbp-pg (so commit 34a63bf involuntarily made the situation worse in the long run).

This issue can be fixed by changing `--diff-algorithm=default` in `gbp/git/repository.py` to `--diff-algorithm=histogram`.

Regards,

--
Gioele Barabucci

Reply via email to