From patchwork Sat Aug 23 20:28:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Rae X-Patchwork-Id: 35877 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9B66D2057E for ; Sat, 23 Aug 2014 20:28:42 +0000 (UTC) Received: by mail-oi0-f70.google.com with SMTP id u20sf61428056oif.5 for ; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=RbZzx1kU0AuvCzdRIhFUWG09pIHOdDS5ixCDBCqUKvw=; b=Y6kr8FYGx85sbDBHJLbuUIsUq+/eD9jbHonO0q2nwEN+PACUV9V8SeNIx/FDHdnaC6 MVO6RiM+a+FrF0Ny16CwbG3H0XXkslvlaoCIFASrybnIOtTqG5UhnDfqqspRfcHEnXvE 94gxBFee12bOLeX1tJvY7qyztYzISwWK97Ke2BGezZC8VsQ0WpXnSNJmODvmgG857Mng wRCyeo7mLAngB8XiVIAWOyOkUqw5dbtQqSyoY0xmz4qn6YD+KGxHg3cIlkc9bWCaqsSP LzTiYN8pbxeUzbkLa7sydjROU4Dh1VesVDOijvOtw/0GhQt4RTTu96LmH54DEedg5L8C HvGg== X-Gm-Message-State: ALoCoQnBUp3eHQIuMJ8IhYto/QWI3aJyfBxYe0yGyEeKfIy/bLdUCzGDTS/L/iMRU2qFbtDjtziX X-Received: by 10.182.18.8 with SMTP id s8mr7897866obd.21.1408825722244; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.212 with SMTP id o78ls1567422qge.55.gmail; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) X-Received: by 10.52.98.201 with SMTP id ek9mr1550537vdb.35.1408825722127; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id zb2si15335114vdb.17.2014.08.23.13.28.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Aug 2014 13:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ik5so13758127vcb.34 for ; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) X-Received: by 10.220.184.70 with SMTP id cj6mr9811860vcb.5.1408825722045; Sat, 23 Aug 2014 13:28:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp9712vcb; Sat, 23 Aug 2014 13:28:41 -0700 (PDT) X-Received: by 10.180.108.1 with SMTP id hg1mr5746859wib.25.1408825721119; Sat, 23 Aug 2014 13:28:41 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id n4si3550274wiw.34.2014.08.23.13.28.40 for ; Sat, 23 Aug 2014 13:28:40 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D52314A044; Sat, 23 Aug 2014 22:28:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PfKJQSjvWTPo; Sat, 23 Aug 2014 22:28:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 157EB4A04A; Sat, 23 Aug 2014 22:28:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6AB3E4A04A for ; Sat, 23 Aug 2014 22:28:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ji3h5hubUP1q for ; Sat, 23 Aug 2014 22:28:32 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gw3-out.broadcom.com (mail-gw3-out.broadcom.com [216.31.210.64]) by theia.denx.de (Postfix) with ESMTP id AEC264A044 for ; Sat, 23 Aug 2014 22:28:27 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.04,387,1406617200"; d="scan'208";a="43223470" Received: from irvexchcas07.broadcom.com (HELO IRVEXCHCAS07.corp.ad.broadcom.com) ([10.9.208.55]) by mail-gw3-out.broadcom.com with ESMTP; 23 Aug 2014 13:43:11 -0700 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.3.174.1; Sat, 23 Aug 2014 13:28:25 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.3.174.1; Sat, 23 Aug 2014 13:28:26 -0700 Received: from mail.broadcom.com (lbrmn-vmlnx03.ric.broadcom.com [10.136.4.105]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id ABD089F9F7; Sat, 23 Aug 2014 13:28:25 -0700 (PDT) From: Steve Rae To: , Simon Glass Date: Sat, 23 Aug 2014 13:28:57 -0700 Message-ID: <1408825737-13659-1-git-send-email-srae@broadcom.com> X-Mailer: git-send-email 1.8.5 MIME-Version: 1.0 Cc: Steve Rae Subject: [U-Boot] [PATCH] patman: implement 'reverse' in LogCmd() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srae@broadcom.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 - 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: