diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-14 21:59:11 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-08-28 07:56:19 -0700 |
commit | 042a732cf50568e77a20c540341fccf28ba62bcf (patch) | |
tree | c43000dd1c434b3b63c6c6f515a761eb00911c70 | |
parent | 7bee1c91a94db19bd26f92cc67be35d3592c6429 (diff) | |
download | u-boot-imx-042a732cf50568e77a20c540341fccf28ba62bcf.zip u-boot-imx-042a732cf50568e77a20c540341fccf28ba62bcf.tar.gz u-boot-imx-042a732cf50568e77a20c540341fccf28ba62bcf.tar.bz2 |
patman: Support the 'reverse' option for 'git log'
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>
-rw-r--r-- | tools/patman/gitutil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index 735c8dd..e2b4959 100644 --- a/tools/patman/gitutil.py +++ b/tools/patman/gitutil.py @@ -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: |