Paul Zander <negril.nx+gen...@gmail.com> writes:

> 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+gen...@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

This first patch is OK and I'll pull it in. The others need to be respun
with commit messages describing it.

Reply via email to