Bug#803537: [PATCH] debdiff: print files in the FIRST package before the SECOND

Dima Kogan dima at secretsauce.net
Sat Oct 31 04:20:01 UTC 2015


Package: devscripts
Version: 2.15.1
Severity: normal

Prior to this patch, the output of debdiff is like this:

    $ debdiff first.deb second.deb
    [The following lists of changes regard files as different if they have
    different names, permissions or owners.]

    Files in second .deb but not in first
    -------------------------------------
    .....

    Files in first .deb but not in second
    -------------------------------------
    .....

    Control files: lines which differ (wdiff format)
    ------------------------------------------------
    Installed-Size: [-1557-] {+1441+}
    Provides: [-provides_first,-] {+provides_second,+}

Here we list (in order)

- files present in the 2nd package
- files present in the 1st package
- (in a wdiff) the fields in the 1st package
- (in a wdiff) the fields in the 2nd package

This swap of data ordering is confusing. It would make much more sense to output
1st,2nd,1st,2nd instead of 2nd,1st,1st,2nd. This patch makes this switch


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debdiff-print-files-in-the-FIRST-package-before-the-.patch
Type: text/x-diff
Size: 3506 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20151030/acf20942/attachment-0001.patch>


More information about the devscripts-devel mailing list