From: Steve Rae Date: Sat, 23 Aug 2014 13:28:57 -0700 Subject: [U-Boot] [PATCH] patman: implement 'reverse' in LogCmd() Message-ID: <1408825737-13659-1-git-send-email-srae@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de - add missing capability 'git log --reverse' Signed-off-by: Steve Rae - 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