1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Update .editorconfig and .gitattributes for postgresql.conf.sample.

This commit updates .editorconfig and .gitattributes in preparation
for a follow-up commit that will modify this file to use spaces
instead of tabs.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/aReNUKdMgKxLqmq7%40nathan
This commit is contained in:
Nathan Bossart
2025-11-18 10:28:36 -06:00
parent c05dee1911
commit aeebb49b7c
2 changed files with 7 additions and 0 deletions

View File

@@ -85,6 +85,12 @@ insert_final_newline = true
indent_style = unset
tab_width = unset
[src/backend/utils/misc/postgresql.conf.sample]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
tab_width = unset
[*.out]
indent_style = unset
indent_size = unset

1
.gitattributes vendored
View File

@@ -19,6 +19,7 @@ README.* conflict-marker-size=48
*.data -whitespace
contrib/pgcrypto/sql/pgp-armor.sql whitespace=-blank-at-eol
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol
src/backend/utils/misc/postgresql.conf.sample whitespace=space-before-tab,trailing-space,tab-in-indent
# Test output files that contain extra whitespace
*.out -whitespace