All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Nemeth <tnemeth@free.fr>
To: Johannes Sixt <j6t@kdbg.org>, Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: Git trailing blank lines feature configuration
Date: Sat, 01 Aug 2026 10:21:08 +0200	[thread overview]
Message-ID: <2851117.mvXUDI8C0e@cixi> (raw)
In-Reply-To: <xmqq33wzc7uy.fsf@gitster.g>

Le vendredi 31 juillet 2026, 20:49 Junio C Hamano a écrit :
> Johannes Sixt <j6t@kdbg.org> 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.



  reply	other threads:[~2026-08-01  8:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 10:19 Git trailing blank lines feature configuration Thomas Nemeth
2026-07-31 11:08 ` Johannes Sixt
2026-07-31 11:50   ` Thomas Nemeth
2026-08-01  0:05     ` Ben Knoble
2026-08-01  8:48       ` Thomas Nemeth
2026-08-01 21:05         ` Johannes Sixt
2026-08-02  8:21           ` Thomas Nemeth
2026-07-31 18:49   ` Junio C Hamano
2026-08-01  8:21     ` Thomas Nemeth [this message]
2026-07-31 15:50 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2851117.mvXUDI8C0e@cixi \
    --to=tnemeth@free.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=j6t@kdbg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.