Re: Add trim_trailing_whitespace to editorconfig file

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add trim_trailing_whitespace to editorconfig file
Date: 2024-02-14 22:19:55
Message-ID: F10771BB-5BB9-4654-BDBC-0EA15686D9AC@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 14 Feb 2024, at 23:06, Melanie Plageman <melanieplageman(at)gmail(dot)com> wrote:
>
> On Wed, Feb 14, 2024 at 11:35 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
>>
>> This brings our .gitattributes and .editorconfig files more in line. I
>> had the problem that "git add" would complain often about trailing
>> whitespaces when I was changing sgml files specifically.
>
> +1 from me. But when do we want it to be false? That is, why not
> declare it true for all file types?

Regression test .out files commonly have spaces at the end of the line. (Not
to mention the ECPG .c files but they probably really shouldn't have.)

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2024-02-14 22:55:27 Re: When extended query protocol ends?
Previous Message Melanie Plageman 2024-02-14 22:06:35 Re: Add trim_trailing_whitespace to editorconfig file