patman: implement 'reverse' in LogCmd()
PATCH 1/1 patman: implement 'reverse' in LogCmd()
- add missing capability 'git log --reverse'
Signed-off-by Steve Rae <[email protected]>
- 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(+)
tools/patman/gitutil.py +2 -0
@@ -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:
Signature · 1 line
1.8.5
PATCH 1/1 patman: implement 'reverse' in LogCmd()
Hi Steve,
Quoted 5 lines · Steve Rae
- add missing capability 'git log --reverse'
Signed-off-by Steve Rae <[email protected]>- a recent change (cda2a61) broke patman, the "Changes in v?" tags are being applied to the wrong commits!
Thanks for the patch. We already have one for this:
http://patchwork.ozlabs.org/patch/380068/
I'll organise a pull request soon and it will be fixed.
Regards,
Simon