All of lore.kernel.org
 help / color / mirror / Atom feed
* Git trailing blank lines feature configuration
@ 2026-07-31 10:19 Thomas Nemeth
  2026-07-31 11:08 ` Johannes Sixt
  2026-07-31 15:50 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Nemeth @ 2026-07-31 10:19 UTC (permalink / raw)
  To: git

    Hi !

    I have the habit to keep 1 blank line at the end of my files. To me,
    it eases the EOF modifications (selecting code blocks, pasting them)
    in vim.

    Note that I still want to remove blanks at EOL. But I'd like to keep
    1 blank trailing line. I still can, of course, but the diff still
    shows me a red "+"...

    Would it be possible to have a configuration option to avoid warnings
    (because I see that as a warning) about trailing blank lines ?

    Thanks

Thomas.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-31 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-07-31 15:50 ` Junio C Hamano

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.