v4-0004-Add-note-about-keeping-.editorconfig-and-.gitattr.patch
text/x-patch
Filename: v4-0004-Add-note-about-keeping-.editorconfig-and-.gitattr.patch
Type: text/x-patch
Part: 2
Patch
Format: format-patch
Series: patch v4-0004
Subject: Add note about keeping .editorconfig and .gitattributes in sync
| File | + | − |
|---|---|---|
| .editorconfig | 1 | 0 |
| .gitattributes | 1 | 0 |
From 97fe71d7769a3e4191adedbfe4092afec696ea7b Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio <jelte.fennema@microsoft.com> Date: Thu, 15 Feb 2024 10:23:19 +0100 Subject: [PATCH v4 4/5] Add note about keeping .editorconfig and .gitattributes in sync Now that they are in sync, hopefully this reminder makes sure we keep them that way. Automation to detect them being out of sync seems excessive. --- .editorconfig | 1 + .gitattributes | 1 + 2 files changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index c742e0f844..3f5c4e0ef8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,4 @@ +# IMPORTANT: When updating this file, also update .gitattributes to match. root = true [*] diff --git a/.gitattributes b/.gitattributes index e9ff4a56bd..7923fc3387 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ +# IMPORTANT: When updating this file, also update .editorconfig to match. * whitespace=space-before-tab,trailing-space *.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 *.pl whitespace=space-before-tab,trailing-space,tabwidth=4 -- 2.34.1