patman: Use reverse order for changelog
Specially when many revisions are need for a patchset, the most interesting information is about the last set of changes so we output the changelog in reverse order to easy identification of most recent change set. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
00d0d2ad4e
commit
244e6f9705
@ -145,18 +145,18 @@ class Series(dict):
|
|||||||
Return:
|
Return:
|
||||||
The change log as a list of strings, one per line
|
The change log as a list of strings, one per line
|
||||||
|
|
||||||
|
Changes in v2:
|
||||||
|
- Jog the dial back closer to the widget
|
||||||
|
|
||||||
Changes in v1:
|
Changes in v1:
|
||||||
- Fix the widget
|
- Fix the widget
|
||||||
- Jog the dial
|
- Jog the dial
|
||||||
|
|
||||||
Changes in v2:
|
|
||||||
- Jog the dial back closer to the widget
|
|
||||||
|
|
||||||
etc.
|
etc.
|
||||||
"""
|
"""
|
||||||
final = []
|
final = []
|
||||||
need_blank = False
|
need_blank = False
|
||||||
for change in sorted(self.changes):
|
for change in sorted(self.changes, reverse=True):
|
||||||
out = []
|
out = []
|
||||||
for this_commit, text in self.changes[change]:
|
for this_commit, text in self.changes[change]:
|
||||||
if commit and this_commit != commit:
|
if commit and this_commit != commit:
|
||||||
|
Loading…
Reference in New Issue
Block a user