Re: [PATCH] notes: remove trailing whitespace from editor template
On Tue, May 27, 2025, at 19:18, Junio C Hamano wrote:
Show 8 quoted lines
> Alternatively, if it bothers users of certain editing environments
> too much, perhaps the indent code in the output phase of "git show"
> should lose the indents for empty lines uniformly, shoudln't it? It
> probably should be a fairly isolated change, like the way how the
> expand_tabs_in_log bit is handled in pretty.c; give another bit and
> teach pp_handle_indent to return when that bit is set and the
> payload it was asked to show with indentation is empty, or something
> like that.
That sounds scary. I’ll make do without.
--
Kristoffer Haugsbakk