Re: Git trailing blank lines feature configuration

Thomas Nemeth <[email protected]> Sat, 01 Aug 2026 10:21:08 +0200
Newsgroups org.kernel.vger.git
Organization désorganisée
Message-ID <2851117.mvXUDI8C0e@cixi>
Le vendredi 31 juillet 2026, 20:49 Junio C Hamano a écrit :
> Johannes Sixt <[email protected]> writes:
[...]
> >>     Would it be possible to have a configuration option to avoid
> >>     warnings
> >>     (because I see that as a warning) about trailing blank lines ?
[...]
> > That said, are you looking to disable blank-at-eof from
> > core.whitespace? Collect all "enabled by default" except this one
> > from [*].
> 
> Ah, if "I want a configuration that does not complain when it sees
> any number (including zero) of blank lines" is what is asked for,
> then yes, 'blank-at-eof' would be sufficient.

    \o/

    Thanks to you all :)

-- 
Thomas.