]> git.sur5r.net Git - u-boot/commitdiff
patman: Support the 'reverse' option for 'git log'
authorSimon Glass <sjg@chromium.org>
Fri, 15 Aug 2014 03:59:11 +0000 (21:59 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 28 Aug 2014 14:56:19 +0000 (07:56 -0700)
This option is currently not supported, but needs to be, for buildman to
operate as expected.

Reported-by: York Sun <yorksun@freescale.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py

index 735c8dddac9168fd053a9dd319dc8f79b863f7a7..e2b4959d58b377dab1546a470df1fa6b07e89af7 100644 (file)
@@ -38,6 +38,8 @@ def LogCmd(commit_range, git_dir=None, oneline=False, reverse=False,
         cmd.append('--oneline')
     if use_no_decorate:
         cmd.append('--no-decorate')
+    if reverse:
+        cmd.append('--reverse')
     if count is not None:
         cmd.append('-n%d' % count)
     if commit_range: