From: Kristoffer Haugsbakk Date: Tue, 27 May 2025 21:21:10 GMT Subject: Re: [PATCH] notes: remove trailing whitespace from editor template Message-ID: <59e4082a-6cbe-4a3f-b884-1d0cc7294548@app.fastmail.com> In-Reply-To: On Tue, May 27, 2025, at 19:18, Junio C Hamano wrote: > 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