This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Whitespace at the start of first line of commit
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>, "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>
- Date: Tue, 14 Jan 2020 16:13:37 +0000
- Subject: Re: Whitespace at the start of first line of commit
- Ironport-sdr: ITTuK2Zst4lI8Ai4mHeojnR3I208+ikWMEQsvIOF+u/XnmomUF/G+YrEM1I4fhla2inLmp+u7L +4P7Y573NN0YI7EUju7aoI6VQWmgDTNiELL+vWfpPjX2Gc5wwji3d5mhTTe6PcH7ECxcARSbE7 foIItFISCVl0TDGJkOz1u+T83bnlbZ0HmSyCB2FcynbuaXDk8zSPz2VbcropTA0sNujseldIE7 srjHGbLdak/UaCCQmCLTzJ0+srp8exnUH4nld89Kj3EerfQpg3B+Nea6qsXGvrzD455Hl1G6oD cOg=
- Ironport-sdr: v4917G+/PcVSDb4JQwLMXnFkpz3tSxoGU+P/4ZjVydELUAtK6HqYHVjepn3DBd7D9b16+e/SmN 7jaN971pD/eqNfgdsd/gt3T0t3ZkXXCd0c3HnJhz3Y4NgpiPi5C+d2HcFbiypx8bUIQbtJJv3c YucgNwX2lRGG03u85DUNoVYcwsWKSHDx7oOONugUvfAd4pnxgikgXR4qE86NU+WRKzc9fvYz4G JiQP73ygLDdhRPLCIAiOK2lzAco5uevYxseMbFwmzkdP9k6D0X6/0xNCFZc4KUHrc4/dQwJapj 8TU=
- References: <20200114102902.GA10088@tucnak>
On Tue, 14 Jan 2020, Jakub Jelinek wrote:
> (untested), another, suggested by Richard on IRC, would be to reject
> commits where the first line starts with whitespace.
I'd suggest making the hooks reject whitespace at the start of the first
line of the commit message.
--
Joseph S. Myers
joseph@codesourcery.com