From patchwork Tue Mar 26 23:09:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 231571 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 135642C007A for ; Wed, 27 Mar 2013 10:11:05 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DB6114A087; Wed, 27 Mar 2013 00:10:56 +0100 (CET) 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 9LIWMdIGOL9r; Wed, 27 Mar 2013 00:10:56 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E753B4A033; Wed, 27 Mar 2013 00:10:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 964694A028 for ; Wed, 27 Mar 2013 00:10:33 +0100 (CET) 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 fcgRjzSs57Nn for ; Wed, 27 Mar 2013 00:10:31 +0100 (CET) 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-vc0-f201.google.com (mail-vc0-f201.google.com [209.85.220.201]) by theia.denx.de (Postfix) with ESMTPS id 411E44A032 for ; Wed, 27 Mar 2013 00:10:27 +0100 (CET) Received: by mail-vc0-f201.google.com with SMTP id hf12so777165vcb.0 for ; Tue, 26 Mar 2013 16:10:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=Rk9kcHrqT/jnj5MrvdNTfjArcAfvdzUu+4ceLhNwb1E=; b=PVbefzU63bCi8qAwLUY9/E/Y2Lo3aFpbIgvP4lUGN2Rrw9yUVmHayhudIKIvKOpex3 dt9C7LH34rRqEDPJYLg89Upr07VdFTam5qZX92wyudRecdVUChOj8oiD8U6W3OC1UtZx LEc8O8+Vhf2JvzhOcq94CuIlA7roh3Zr4Viz0GGhYz+MvSXbsL8vir788Gz4fzGzkDMy ZueXOojnt28DpdSjUEmR/RoBsaSDck2AdwjDALlFF/5j/kZnRp3Q+W6gSHcCTocC2S1c +TPrPe1PJV+X2T/pYJ/DEHphEfZcOww2y83m9e06aaReVn8ifN85aK5MVRwWxBfqx0FL u9DA== X-Received: by 10.224.110.68 with SMTP id m4mr10173474qap.2.1364339425031; Tue, 26 Mar 2013 16:10:25 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id f2si1773930qcv.1.2013.03.26.16.10.24 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Tue, 26 Mar 2013 16:10:25 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.83.1]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id C3D3A5A409A; Tue, 26 Mar 2013 16:10:24 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 81E98160756; Tue, 26 Mar 2013 16:10:24 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 26 Mar 2013 16:09:40 -0700 Message-Id: <1364339385-10035-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1364339385-10035-1-git-send-email-sjg@chromium.org> References: <1364339385-10035-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQlUzRsDOGk/GC04SWne8FUh5jvgOE2EW5HbkbSYhnEXB0cu/eUQs7JiGgH1RkbPpIAEEE9+vH8PK9fcZuQ+cCkm4D9FMsaojY65wbSw69aE8hTDPx0MqwJHiJxjrAumU+fa5vHWGM8iaP6DrQMBF3i1IuNGuNYzzAgLbTwYbm/3MShkNzXNMsRIaGwkW+f8CQOBRCJ8 Cc: Tom Rini Subject: [U-Boot] [PATCH v2 2/7] patman: Don't allow spaces in tags X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de At present something like: Revert "arm: Add cache operations" will try to use Revert "arm as a tag. Clearly this is wrong, so fix it. If the revert is intended to be tagged, then the tag can come before the revert, perhaps. Alternatively the 'Cc' tag can be used in the commit messages. Signed-off-by: Simon Glass Reviewed-by: Doug Anderson --- Changes in v2: - Adjust to not allow any spaces in tags, change commit title tools/patman/commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/commit.py b/tools/patman/commit.py index 7144e54..cbfbc46 100644 --- a/tools/patman/commit.py +++ b/tools/patman/commit.py @@ -22,7 +22,7 @@ import re # Separates a tag: at the beginning of the subject from the rest of it -re_subject_tag = re.compile('([^:]*):\s*(.*)') +re_subject_tag = re.compile('([^:\s]*):\s*(.*)') class Commit: """Holds information about a single commit/patch in the series.