]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
patman: don't mess with changelog
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Mon, 6 Aug 2012 23:46:07 +0000 (23:46 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 14:24:07 +0000 (16:24 +0200)
Don't try to sort and uniq changelog entries as this breaks
multiline entries. It will be better to add some real multi-line
support but for now just preserve the entries as is.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
tools/patman/series.py

index 05d9e73a469572c87501a8ac95d0805564463a2a..4e7cb71c987594716ef2dd1ab867689e0125f26e 100644 (file)
@@ -154,10 +154,9 @@ class Series(dict):
             for this_commit, text in self.changes[change]:
                 if commit and this_commit != commit:
                     continue
-                if text not in out:
-                    out.append(text)
+                out.append(text)
             if out:
-                out = ['Changes in v%d:' % change] + sorted(out)
+                out = ['Changes in v%d:' % change] + out
                 if need_blank:
                     out = [''] + out
                 final += out