agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
Subject: [PATCH v1 1/1] Change default tab width to 8.
Date: Fri, 14 Nov 2025 14:03:55 -0600

---
 .editorconfig  | 2 +-
 .gitattributes | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.editorconfig b/.editorconfig
index e20d15d4533..5f6493c31b7 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,7 +7,7 @@ indent_size = tab
 trim_trailing_whitespace = true
 insert_final_newline = true
 indent_style = unset
-tab_width = unset
+tab_width = 8
 
 [*.[chly]]
 trim_trailing_whitespace = true
diff --git a/.gitattributes b/.gitattributes
index 4e26bbfb145..58fd4444b58 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,6 +1,6 @@
 # IMPORTANT: After updating this file, also run src/tools/generate_editorconfig.py
 
-*		whitespace=space-before-tab,trailing-space
+*		whitespace=space-before-tab,trailing-space,tabwidth=8
 *.[chly]	whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
 *.cpp		whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
 *.pl		whitespace=space-before-tab,trailing-space,tabwidth=4
-- 
2.39.5 (Apple Git-154)


--gHLBJeebIjretGDl--





view thread (196+ messages)  latest in thread

Message-ID: <no-message-id-1697146@localhost>
Permalink:  ../no-message-id-1697146@localhost/
Also on:    postgresql.org/message-id/no-message-id-1697146@localhost

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: nathan@postgresql.org
  Subject: Re: [PATCH v1 1/1] Change default tab width to 8.
  In-Reply-To: <no-message-id-1697146@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox