diff mbox series

.editorconfig: Preserve trailing whitespace in diff and patch files

Message ID 20260601171912.1146766-1-jcormier@criticallink.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series .editorconfig: Preserve trailing whitespace in diff and patch files | expand

Commit Message

Jon Cormier June 1, 2026, 5:19 p.m. UTC
Diff and patch files require trailing whitespace to denote
empty lines with no changes.

Signed-off-by: Jonathan Cormier <jcormier@criticallink.com>
---
 .editorconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

PRC Automation June 1, 2026, 5:20 p.m. UTC | #1
meta-arago / na / 20260601171912.1146766-1-jcormier

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
    WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
        patch:60
            Subject: [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887



=========================================================
  apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
- Submitter: From: Jonathan Cormier <jcormier@criticallink.com>
- Date: Date: Mon,  1 Jun 2026 13:19:12 -0400
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: b0a1384f9e2be260dfaf112ccb645a7aa25d6f0e

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: Thorsten Lannynd <t-lannynd@ti.com>
- Commit Subject: meta-arago: chromium: clean up and simplify V4L2 patch series
- Commit SHA: 30a611f56a4bd74d421e36ecddf705b956c01648

Patches
----------------------------------------
FAIL - [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
    error: .editorconfig: does not exist in index
    Applying: .editorconfig: Preserve trailing whitespace in diff and patch files
    Patch failed at 0001 .editorconfig: Preserve trailing whitespace in diff and patch files
Jon Cormier June 1, 2026, 5:27 p.m. UTC | #2
Sorry will resend to the correct tags


On Mon, Jun 1, 2026 at 1:20 PM PRC Automation <prc@list.ti.com> wrote:
>
> meta-arago / na / 20260601171912.1146766-1-jcormier
>
> PRC Results: FAIL
>
> =========================================================
>   check-yocto-patches: PASS
> =========================================================
> Patches
> ----------------------------------------
> WARN - [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
>     WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
>         patch:60
>             Subject: [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
>
>     For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
>
>
>
> =========================================================
>   apply-yocto-patch: FAIL
> =========================================================
> master
> =====================
> Summary:
> - Patch Series: [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
> - Submitter: From: Jonathan Cormier <jcormier@criticallink.com>
> - Date: Date: Mon,  1 Jun 2026 13:19:12 -0400
> - Num Patches: 1
> - Mailing List (public inbox) Commit SHA: b0a1384f9e2be260dfaf112ccb645a7aa25d6f0e
>
> Applied to:
> - Repository: lcpd-prc-meta-arago
> - Base Branch: master
> - Commit Author: Thorsten Lannynd <t-lannynd@ti.com>
> - Commit Subject: meta-arago: chromium: clean up and simplify V4L2 patch series
> - Commit SHA: 30a611f56a4bd74d421e36ecddf705b956c01648
>
> Patches
> ----------------------------------------
> FAIL - [PATCH] .editorconfig: Preserve trailing whitespace in diff and patch files
>     error: .editorconfig: does not exist in index
>     Applying: .editorconfig: Preserve trailing whitespace in diff and patch files
>     Patch failed at 0001 .editorconfig: Preserve trailing whitespace in diff and patch files
>
>
>
diff mbox series

Patch

diff --git a/.editorconfig b/.editorconfig
index 30740e726616..306d282c3164 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,6 +6,9 @@  root = true
 insert_final_newline = true
 trim_trailing_whitespace = true
 
+[*.{diff,patch}]
+trim_trailing_whitespace = false
+
 [*.{sh,pl,xml}]
 indent_size = 4
 indent_style = space