git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jim Meyering <jim@meyering.net>
Date
Dec 17, 2006, 20:36 UTC
Message-ID
<87psainttt.fsf@rho.meyering.net>
In-Reply-To
<7vtzzu5lp1.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> Linus Torvalds <torvalds@osdl.org> 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.
Previous: Junio C HamanoNext: Jakub Narebski
Message 4 of 6 in “git-diff: don't add trailing blanks (i.e., do what GNU diff -u now does)”
  1. git-diff: don't add trailing blanks (i.e., do what GNU diff -u now does)Jim Meyering, Dec 17, 2006
  2. Linus TorvaldsDec 17, 2006
  3. Junio C HamanoDec 17, 2006
  4. Jim MeyeringDec 17, 2006
  5. Jakub NarebskiDec 17, 2006
  6. Johannes SchindelinDec 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.