diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-08-18 07:46:04 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-26 11:08:32 -0700 |
commit | 244e6f97055aa86e446ed3a925fdfa3f2b8f8207 (patch) | |
tree | 468f6a7cd0351ad08d98b938d7f5ea17776b57f8 /tools/patman | |
parent | 00d0d2ad4e875a70e212ec12d17ad5f872f6033d (diff) | |
download | u-boot-imx-244e6f97055aa86e446ed3a925fdfa3f2b8f8207.zip u-boot-imx-244e6f97055aa86e446ed3a925fdfa3f2b8f8207.tar.gz u-boot-imx-244e6f97055aa86e446ed3a925fdfa3f2b8f8207.tar.bz2 |
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>
Diffstat (limited to 'tools/patman')
-rw-r--r-- | tools/patman/series.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py index 27528bf..ce36b23 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: |