git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] refer to post-patch lines in whitespace warnings
@ 2008-01-09 15:57 Daniel Barkalow
  2008-01-09 20:22 ` Junio C Hamano
  2008-01-09 20:42 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Barkalow @ 2008-01-09 15:57 UTC (permalink / raw)
  To: git

When I rebase series with bad whitespace, I end up with unhelpful messages 
like:

.dotest/patch:412: trailing whitespace.
-- 
.dotest/patch:446: trailing whitespace.
-- 

These line numbers obviously refer to lines in a file that's been removed 
by the time I can do anything about it. It seems to me like the message 
would be more useful if, in the case where it leaves the working tree 
modified with the non-compliant whitespace, it gave this location rather 
than the patch's location (because, even if you have the patch still, 
you'd need to revert it first in order to be able to apply a fixed version 
anyway). Anybody see any problems with this theory?

	-Daniel
*This .sig left intentionally blank*

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

end of thread, other threads:[~2008-01-09 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 15:57 [RFC] refer to post-patch lines in whitespace warnings Daniel Barkalow
2008-01-09 20:22 ` Junio C Hamano
2008-01-09 21:35   ` Daniel Barkalow
2008-01-09 20:42 ` Junio C Hamano

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