git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Allowing new eof whitelines while still doing whitespace trailing-space fix.
@ 2009-08-01 16:53 Thell Fowler
  2009-08-01 22:12 ` [PATCH] Add --allow-eof-whitelines to git-apply while still doing whitespace trailing-space fixing TBFowler
  2009-08-01 22:14 ` [RFC] Allowing new eof whitelines while still doing whitespace trailing-space fix Thell
  0 siblings, 2 replies; 3+ messages in thread
From: Thell Fowler @ 2009-08-01 16:53 UTC (permalink / raw)
  To: git

As part of a current mirroring project of a dirty upstream repo that has
mixed line endings and leading/trailing whitespace issues it became
apparent that the current trailing-space fixing in ws.c worked
correctly, but the new_blank_lines_at_end processing in builtin-apply.c
would remove the newly fixed line.  Also, as noted in a previous thread,
there are times when adding new whitelines at eof is a needed
capability, yet the desire remains to correct other whitespace issues
within the patch.

The patch in the follow-up post is an attempt to fix that.  This is my
first git-core patch, so please be honest but gentle. :P  If the fix is
of interest I'd be glad to go through the steps of making a test case
and whatever else is needed.

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

end of thread, other threads:[~2009-08-01 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01 16:53 [RFC] Allowing new eof whitelines while still doing whitespace trailing-space fix Thell Fowler
2009-08-01 22:12 ` [PATCH] Add --allow-eof-whitelines to git-apply while still doing whitespace trailing-space fixing TBFowler
2009-08-01 22:14 ` [RFC] Allowing new eof whitelines while still doing whitespace trailing-space fix Thell

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).