Trailing whitespace on git diff output.
- From
- Adria Farres <14farresa@gmail.com>
- Date
- Sep 1, 2014, 17:47 UTC
- Message-ID
- <20140901174709.GA23397@vimeitor>
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