Didier 'OdyX' Raboud writes ("Bug#973881: Result of 'git debrebase
make-patches' with 'diff.noprefix' git config confuses dgit"):
> after toggling a git diff option globally with:
> git config --global diff.noprefix true
>
> I noticed that dgit (at least build-source, but others too) started to fail
> comparing patches-applied with patches-unapplied trees.
How unfortunate.
> I'm reporting this against git debrebase, because it seems to me that git
> debrebase ought to always format patches in a known-to-work format, no matter
> what the user has configured for his personal git usage.
Quite so.
Unfortunately it is not so easy to do this right. We have a private
tree but must choose which git config settings to inherit and which to
override.
This mostly works, but for settings where
git config --local --add $key
breaks, it doesn't. We have to manually add those with
git config diff.noprefix 0
(in this case).
Thanks for the report!
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.