public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Zander <negril.nx+gentoo@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH 1/3] [QA] fix .editorconfig
Date: Sun, 5 May 2024 16:45:29 +0200	[thread overview]
Message-ID: <CAKB6=BsNovrecdnza9AR13TfdJF+WgGaQD_HsXb5RNLBpWn4Sg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

This series of patches is meant as a basis to fix the .editorconfig used in
::gentoo. Initial reason was that .patch files are being broken by
the current version.

trimming trailing whitespace breaks patches

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
---
 .editorconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 7d6e17345e1..f2cd7328e57 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,3 +1,6 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
 # https://editorconfig.org/
 root = true

@@ -9,3 +12,6 @@ indent_style = tab
 indent_size = 4
 trim_trailing_whitespace = true
 #max_line_length = 80
+
+[*.patch]
+trim_trailing_whitespace = false
-- 
2.45.0

[-- Attachment #2: Type: text/html, Size: 1019 bytes --]

             reply	other threads:[~2024-05-05 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-05 14:45 Paul Zander [this message]
2024-05-05 15:48 ` [gentoo-dev] [PATCH 2/3] [QA] allow overriding settings Paul Zander
2024-05-05 15:50   ` [gentoo-dev] [PATCH 3/3] [QA] drop indent_size Paul Zander
2024-05-05 17:53     ` Ulrich Mueller
2024-05-05 18:56     ` Eli Schwartz
2024-05-05 19:04   ` [gentoo-dev] [PATCH 2/3] [QA] allow overriding settings Eli Schwartz
2024-05-05 17:45 ` [gentoo-dev] [PATCH 1/3] [QA] fix .editorconfig Ulrich Mueller
2024-09-19  7:24 ` Sam James

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKB6=BsNovrecdnza9AR13TfdJF+WgGaQD_HsXb5RNLBpWn4Sg@mail.gmail.com' \
    --to=negril.nx+gentoo@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox