git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Trailing whitespace on git diff output.
@ 2014-09-01 17:47 Adria Farres
  2014-09-01 18:10 ` Matthieu Moy
  0 siblings, 1 reply; 2+ messages in thread
From: Adria Farres @ 2014-09-01 17:47 UTC (permalink / raw)
  To: git

Hello,

Today, while redirecting git diff's output to a text file, I noticed git diff
leaves a trailing whitespace between different deltas of the same file (the line
that separates two different deltas). For example, committing a file with the
following content:
---
test

test
---

then changing it to the following:
---
test
test

test
test
---

committing and diffing it, leaves a trailing whitespace on line 8 of the
diff output.

Is that expected behavior? I'm using git 2.1.0.

Sorry for taking your time,

Adria

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

end of thread, other threads:[~2014-09-01 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01 17:47 Trailing whitespace on git diff output Adria Farres
2014-09-01 18:10 ` Matthieu Moy

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