Re: [PATCH] notes: remove trailing whitespace from editor template
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 10, 2025, 22:55 UTC
- Message-ID
- <xmqqtt4nkxz4.fsf@gitster.g>
- In-Reply-To
- <CALnO6CB+ZBChPg0CLXO+i3AUEwiiF7z5euXa4N3Yh4FoEX4A4w@mail.gmail.com>
"D. Ben Knoble" <ben.knoble@gmail.com> writes:
> Really? When committing a recent patch (editor template attached) with > -v (for testing this), I saw trailing whitespace on the blank line > under the added feed.
True. Unless you use a special configuration, which might break other people's "patch" implementations (I think "git apply" has learned to grok this ages ago).
$ git -c diff.suppressBlankEmpty=yes commit -v