From patchwork Wed Jun 7 23:54:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 9773469 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 01DA2602A0 for ; Wed, 7 Jun 2017 23:55:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED8BA25D9E for ; Wed, 7 Jun 2017 23:54:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E253D26538; Wed, 7 Jun 2017 23:54:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C43825D9E for ; Wed, 7 Jun 2017 23:54:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 85B966E2E6; Wed, 7 Jun 2017 23:54:57 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 1518B6E2E6 for ; Wed, 7 Jun 2017 23:54:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 78ECB10A19B0; Wed, 7 Jun 2017 16:54:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U5x-obZFms7b; Wed, 7 Jun 2017 16:54:54 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 69A5110A131B; Wed, 7 Jun 2017 16:54:54 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id E7A4C2E0213; Wed, 7 Jun 2017 16:54:53 -0700 (PDT) From: Eric Anholt To: intel-gfx@lists.freedesktop.org Date: Wed, 7 Jun 2017 16:54:53 -0700 Message-Id: <20170607235453.2481-1-eric@anholt.net> X-Mailer: git-send-email 2.11.0 Subject: [Intel-gfx] [PATCH i-g-t] Make autogen.sh set the default format.subjectPrefix X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP CONTRIBUTING requests that people do this, but it's a lot easier if we just set it up by default for them. Signed-off-by: Eric Anholt Acked-by: Petri Latvala --- I missed this step on my previous two patches, so let's just prevent that in the future. :( autogen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autogen.sh b/autogen.sh index ec633f3efefd..53df7525a976 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,6 +16,9 @@ fi autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH i-g-t" + if test -z "$NOCONFIGURE"; then $srcdir/configure "$@" fi