diff mbox

[U-Boot,3/4] patman: don't mess with changelog

Message ID 1344332768-11891-4-git-send-email-ilya.yanok@cogentembedded.com
State Accepted
Commit 73fe07a79a65600acce3d96c0b0d6ad1ca3e8551
Headers show

Commit Message

Ilya Yanok Aug. 7, 2012, 9:46 a.m. UTC
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 |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Wolfgang Denk Sept. 2, 2012, 2:24 p.m. UTC | #1
Dear Ilya Yanok,

In message <1344332768-11891-4-git-send-email-ilya.yanok@cogentembedded.com> you wrote:
> 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 |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/tools/patman/series.py b/tools/patman/series.py
index 05d9e73..4e7cb71 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -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