On Mon Jun 1, 2026 at 12:27 PM CDT, Jonathan Cormier wrote: > Diff and patch files require trailing whitespace to denote > empty lines with no changes. > > Signed-off-by: Jonathan Cormier <[email protected]> > --- > .editorconfig | 3 +++ > 1 file changed, 3 insertions(+) > > 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
Yeah, this would be picked up for any layers that don't define their own root editorconfig. This modification seems useful. Reviewed-by: Randolph Sapp <[email protected]> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17550): https://lists.yoctoproject.org/g/meta-arago/message/17550 Mute This Topic: https://lists.yoctoproject.org/mt/119596935/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
