git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* diff -b / -w and empty diffs
@ 2008-12-12 17:57 Lars Noschinski
  0 siblings, 0 replies; only message in thread
From: Lars Noschinski @ 2008-12-12 17:57 UTC (permalink / raw)
  To: git

Hello!

If the difference between two files is only whitespace, "git diff -b"
leads to diffs just consisting of the "diff" and "index" lines. I would
like an option to suppress those files in the diff output because it
breaks "git diff -b > patch; git apply patch" workflows (and often I'm
just interested in "real" changes).

Is there any reason why such behaviour is not implemented yet (besides
the fact that nobody cared to do it)?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-12 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12 17:57 diff -b / -w and empty diffs Lars Noschinski

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