[U-Boot] [PATCH] patman: implement 'reverse' in LogCmd()
Steve Rae
srae at broadcom.com
Sat Aug 23 22:28:57 CEST 2014
- add missing capability 'git log --reverse'
Signed-off-by: Steve Rae <srae at broadcom.com>
- a recent change (cda2a61) broke patman, the "Changes in v?" tags
are being applied to the wrong commits!
END
---
tools/patman/gitutil.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py
index 735c8dd..6af6c2a 100644
--- a/tools/patman/gitutil.py
+++ b/tools/patman/gitutil.py
@@ -36,6 +36,8 @@ def LogCmd(commit_range, git_dir=None, oneline=False, reverse=False,
cmd += ['log', '--no-color']
if oneline:
cmd.append('--oneline')
+ if reverse:
+ cmd.append('--reverse')
if use_no_decorate:
cmd.append('--no-decorate')
if count is not None:
--
1.8.5
More information about the U-Boot
mailing list