Re: Add trim_trailing_whitespace to editorconfig file

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add trim_trailing_whitespace to editorconfig file
Date: 2024-04-09 10:42:22
Message-ID: CAGECzQTyTYL0UNMQeM4myr_LqC=24SL=TaLcFWcXH3iruqPG0g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 4 Apr 2024 at 16:58, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
> > ISTM that with a small shell script, .editorconfig could be generated
> > from .gitattributes?
>
> Honestly, I don't think building such automation is worth the effort.

Okay, I spent the time to add a script to generate the editorconfig
based on .gitattributes after all. So attached is a patch that adds
that.

Attachment Content-Type Size
v5-0001-Add-script-to-keep-.editorconfig-in-sync-with-.gi.patch application/octet-stream 7.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2024-04-09 11:24:06 Re: post-freeze damage control
Previous Message Hayato Kuroda (Fujitsu) 2024-04-09 10:25:36 RE: Is this a problem in GenericXLogFinish()?