patman: don't mess with changelog

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>
This commit is contained in:
Ilya Yanok 2012-08-06 23:46:07 +00:00 committed by Wolfgang Denk
parent a8840cb2f0
commit 73fe07a79a

View 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