git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] diff whitespace tweaks
@ 2007-12-12  8:12 Wincent Colaiuta
  2007-12-12  8:12 ` [PATCH 1/2] Use "whitespace" consistently Wincent Colaiuta
  0 siblings, 1 reply; 5+ messages in thread
From: Wincent Colaiuta @ 2007-12-12  8:12 UTC (permalink / raw)
  To: git; +Cc: gitster

[1/2] Use "whitespace" consistently

This one is a simple consistency fix that should go on top of "master".

[2/2] "diff --check" should affect exit status

This one is why I put "RFC" in the subject line. Basically, when I
discovered that "diff --check" didn't affect the exit status of the
command I thought it might be a bug, in which case this fix or one like
it should go in for 1.5.4. This patch also applies on top of "master".

But if you don't consider that to be a bug then I guess it's "next"
or even "pu" material and I can bring it back up after 1.5.4 is out.

Another reason why I label this as "RFC" is that the diff machinery
is fairly bulky and I was not familiar with it. So this patch is the
result of someone who has looked at the source for half an hour and
deduced enough to implement the desired behaviour; but somone who
truly groks the diff code may be able to think of a nicer
implementation.

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

end of thread, other threads:[~2007-12-12  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12  8:12 [RFC PATCH 0/2] diff whitespace tweaks Wincent Colaiuta
2007-12-12  8:12 ` [PATCH 1/2] Use "whitespace" consistently Wincent Colaiuta
2007-12-12  8:12   ` [PATCH 2/2] "diff --check" should affect exit status Wincent Colaiuta
2007-12-12  9:16     ` Junio C Hamano
2007-12-12  9:56       ` Wincent Colaiuta

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