git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Subject: [rfd] a new core.whitespace class "\No newline at end of file"
Date: Wed, 08 Oct 2025 10:39:13 -0700	[thread overview]
Message-ID: <xmqqjz15fg3i.fsf@gitster.g> (raw)

It would be a good sized internship project to introduce a new
core.whitespace class that is about a file that ends in an
incomplete line (it would be way too big as a microproject, so I would
not add the #leftoverbits tag to this one).

The student needs to learn quite a lot of things, including

 - they need to study the diff machinery to learn how existing
   whitespace breakages are reported, in order to figure out how to
   add a new class of whitespace breakage;

 - they need to find a good name for this new class;

 - they need to study the apply machinery to learn how existing
   whitespace breakages are reported or corrected, in order to
   figure out how to add support for this new class.

Thoughts?

             reply	other threads:[~2025-10-08 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-08 17:39 Junio C Hamano [this message]
2025-10-08 19:29 ` [rfd] a new core.whitespace class "\No newline at end of file" brian m. carlson

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=xmqqjz15fg3i.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).