From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90610 invoked by alias); 17 Jan 2020 16:50:35 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 89201 invoked by uid 89); 17 Jan 2020 16:50:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Jan 2020 16:50:25 +0000 IronPort-SDR: 3l05FBjrACboY7UVLk3WpWDo9/uhRO3D5X9YvY2bSz0/bgUeh3tkLiokQQEOFwNxbshTrxxF1D AjWAiNBqH6ce6iF4Yr3+HmproAEXIstfUVCWdk+3YQTisGkVDhyNSntvs5F1EdjSCEarv4xX93 pB8sprwAeRJrNpRvmfuPwAJm+Kt1lsrZ3HHz3KZcftlJu+Jfi4IYaIxLa+LWVdZma127JecrlH PvxIuZJC+shNdHbfvXlzj8T+G9qH/rvDAtE4TIIyiWnIiwIE0brX2OGEfsXKVXbxVFY5el3U8z fxA= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 17 Jan 2020 08:50:23 -0800 IronPort-SDR: 4jhRA+v9SYqfqfmr3cunmDeLTT1RSkakl9/9nn7ehblhHQA+v+azGDdWWzTYWePWfCx0D/FIN5 vErx3E4V5mIoCuy6yNh/1scuO8LB63/9POQEKqPoSDq41LirwnVS7RS2LECT5hM59vAcxX8FK+ AVjYQu4oU9RLQtwGg8IEKxQeBMuVitKLF9AY7lGfa6oaHPzFSvVan4nluFRQzuMn5q0vPETQ+o 5tUfLzoIrlfdd4ePi4oR7VLYIDjobVXQPJw/hO0G0xLM4UkvUFWM8t122NkYMYOUMJbNUvcwVN j4Y= Date: Fri, 17 Jan 2020 17:41:00 -0000 From: Joseph Myers To: Joel Brobecker CC: Jakub Jelinek , , Jason Merrill , "Richard Earnshaw (lists)" Subject: Re: Whitespace at the start of first line of commit In-Reply-To: <20200117160638.GC4164@adacore.com> Message-ID: References: <20200114102902.GA10088@tucnak> <20200117160638.GC4164@adacore.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-Path: joseph@codesourcery.com X-SW-Source: 2020-01/txt/msg00343.txt.bz2 On Fri, 17 Jan 2020, Joel Brobecker wrote: > Do open a GitHub issue if you'd like me to add this check to > the git-hooks. I will likely give it less priority because > you'll have a way to implement it on your on, but I will get to it > eventually. I think https://github.com/AdaCore/git-hooks/issues/7 generally covers all the things we've come up with regarding custom checks *on commit messages*, both those that are clearly GCC-specific (From-SVN:) and those that are more generic for projects where people formerly used ChangeLog content as their commit messages (rejecting a first line looking like a ChangeLog header, rejecting a first line starting with whitespace, rejecting a single-word first line). -- Joseph S. Myers joseph@codesourcery.com