Bug#788998: devscripts: [wrap-and-sort] reorders comment lines in multi-line comments in e.g. debian/dirs

Christoph Berg myon at debian.org
Sun Apr 10 18:43:21 UTC 2016


Re: Axel Beckert 2015-06-16 <87616ngwd6.fsf at c-cactus.deuxchevaux.org>
> Package: devscripts
> Version: 2.15.5
> User: devscripts at packages.debian.org
> Usertags: wrap-and-sort
> 
> Dear Devscripts Maintainers,
> 
> Running "wrap-and-sort -a" caused the following unexpected and clearly
> unwanted diff:

I've just had a case where debian/*.dirs had a comment moved to a
different file:

--- a/debian/corosync.dirs
+++ b/debian/corosync.dirs
@@ -1,3 +1,3 @@
-var/lib/corosync
 # the log dir is used in debian/corosync.postinst
+var/lib/corosync
 var/log/corosync

It looks like the comments are just ordered alphabetically along with
the file names.

Christoph



More information about the devscripts-devel mailing list