#547992 [debdiff] reorder patches to put debian/changelog first

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Russ Allbery
Date:
2010-11-08 07:30:03 UTC
Severity:
wishlist
#547992#5
Date:
2009-09-23 03:18:52 UTC
From:
To:
I was using debdiff to generate patches for a security upload, as I
often do, and noticed that the patch to debian/changelog was buried
in the middle of the code changes.  When reading such patches, it's
nice to see the summary in the form of the changelog diff first, so
I manually reordered it.

It would be cool if debdiff could do this automatically somehow,
rewriting the generated diff so that any diff to debian/changelog is
presented first.  (Possibly not by default but only with another
option, since it would mean not streaming the output.)
--- /etc/devscripts.conf ---
--- ~/.devscripts --- DEBCHANGE_RELEASE_HEURISTIC=changelog DEBCOMMIT_STRIP_MESSAGE=no
#547992#10
Date:
2010-11-08 07:27:49 UTC
From:
To:
Russ Allbery wrote:

Makes sense.  "git diff --no-index -O<orderfile>" might provide a
hackish way to do this in case someone wants to try.