From: Otavio Salvador Date: Sat, 18 Aug 2012 07:46:04 +0000 (+0000) Subject: patman: Use reverse order for changelog X-Git-Tag: v2012.10-rc2~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=244e6f97055aa86e446ed3a925fdfa3f2b8f8207;p=oweals%2Fu-boot.git 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 Acked-by: Simon Glass --- diff --git a/tools/patman/series.py b/tools/patman/series.py index 27528bf21d..ce36b230a3 100644 --- a/tools/patman/series.py +++ b/tools/patman/series.py @@ -145,18 +145,18 @@ class Series(dict): Return: 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: - Fix the widget - Jog the dial - Changes in v2: - - Jog the dial back closer to the widget - etc. """ final = [] need_blank = False - for change in sorted(self.changes): + for change in sorted(self.changes, reverse=True): out = [] for this_commit, text in self.changes[change]: if commit and this_commit != commit: