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
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 18, 2006, 12:06 UTC
Message-ID
<Pine.LNX.4.63.0612181305500.3635@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<em4all$b2c$1@sea.gmane.org>
Hi,
On Sun, 17 Dec 2006, Jakub Narebski wrote:
Show 17 quoted lines
> Junio C Hamano wrote:
> 
> > 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.
> 
> Perhaps with --gnu-diff-compatibility then? 
Rather --braindead-gnu-bug-compatibility.

Ciao, Dscho

Previous: Jakub Narebski
Message 6 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.