# Re: \[PATCH\] git-diff: don't add trailing blanks (i.e., do what GNU diff -u now does)

- List: git
- 1 message, 1 author
- Page: https://ratatoskr.run/git/2016/08/7690808/t

## Re: \[PATCH\] git-diff: don't add trailing blanks (i.e., do what GNU diff -u now does)

- From: Jim Meyering \<hidden\>
- Date: 2016-08-11 20:09:55 
- Message: https://ratatoskr.run/git/2016/08/7690808.md

```text
Junio C Hamano [ref] wrote:
> Linus Torvalds [ref] writes:
>> On Sun, 17 Dec 2006, Jim Meyering wrote:
>>> You may recall that GNU diff -u changed recently so that it no
>>> longer outputs any trailing space unless the input data has it.
>>
>> I still consider that to be a bug in GNU "diff -u".
>>
>> We work around that bug when applying patches, but I don't think we should
>> replicate it.
>
> Me neither.

I can't say I didn't expect this.
```
