From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id A09B3386FC05 for ; Mon, 24 May 2021 16:24:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A09B3386FC05 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: XKTH7iNXuSj2mxxCTU8/92PIrNZEhe5pcJvuyKqLXb+7xylkPvPf9Q7zjESackWk4Txeofx+Ys yQPPjjSaGXlweZ9LMwbbWJojkDO2gho52e1bns1hhMhBSigDVql9aVNV0X0VZj3te3hDoGunR7 XnnpLu0IPO50a9A1i1iubBOd9MMC9VsTa55plgMC0mB0r/3hdRcc+FhgN9L8opINaZRU5hRmx8 pkHY6LSqbbt8w7djpVewl4D8558ifOHnNdBs635i1ZiGx0eE9PLGhIe8V7GlSBoZrApXOJuAXL 6SA= X-IronPort-AV: E=Sophos;i="5.82,325,1613462400"; d="scan'208";a="61725003" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 24 May 2021 08:24:43 -0800 IronPort-SDR: tnqnd1EQhxAl89xkTS16Y8hrwOVTWhABiPXcJ4A2uvqcTEchGGa3dcUw7774luSOuiwFhqPUdX 6UspgbU6uMAMKSr35sXyYe77bBbNDvQe3s7D5kunlQSpfKbrS6jeyI5yk4g9QlN3HbJHkM/0oo QU+rIc4iTlKvUqg1AKAjtev4TV6tR5yM4DrZnD6HGQBlh+hKds4eGdNMo7QaLLMSK5tfDvXn01 +zkQOAdC9LA3FxnBkLiTi7bbGWdcC9xec3rkmcuIR8UwkzfWS8Cakn5GHGFItLdzXVsZj6PQTX Mtk= Date: Mon, 24 May 2021 16:24:38 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Philip Herron CC: Subject: Re: GCC Rust git branch In-Reply-To: <5b2057ae-039c-6805-20fe-133df71c120e@embecosm.com> Message-ID: References: <5b2057ae-039c-6805-20fe-133df71c120e@embecosm.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3121.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 16:24:46 -0000 On Mon, 24 May 2021, Philip Herron wrote: > remote: error: hook declined to update refs/heads/gccrs refs/heads/gccrs doesn't match the branch naming conventions as documented at https://gcc.gnu.org/git.html (where you'd use refs/heads/devel/* for shared development branches), so if you hadn't had commit message formatting issues, the push would have been rejected for bad branch naming as well. > The commit message here is poorly formatted. To move forward, should I > rebase the tree to fix this commit and force push to rewrite the > history? Or is there a way to relax the rule for a new branch? Any > advice would be welcome. If the community desires to relax the checks in a particular case, the way to do it would probably be to set hooks.no-precommit-check, naming the agreed branch name, temporarily in refs/meta/config:project.config, then revert that project.config change afterwards. See https://github.com/AdaCore/git-hooks for the detailed documentation of hook configuration. -- Joseph S. Myers joseph@codesourcery.com