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

Re: [PATCH] Make sure the diff machinery outputs "\ No newline ..." in english

From
Linus Torvalds <torvalds@osdl.org>
Date
Sep 5, 2005, 15:52 UTC
Message-ID
<Pine.LNX.4.58.0509050849500.3568@evo.osdl.org>
In-Reply-To
<20050905060149.GB1875@c165.ib.student.liu.se>
On Mon, 5 Sep 2005, Fredrik Kuivinen wrote:
Show 5 quoted lines
> 
> After a quick look through the diff source I didn't find anything
> else. It's quite possible that I haved missed something though. Most
> of the translated messages are related to error reporting, which I
> guess might be nice to have in the user specified language.

Is it possible that we could integrate the "diff" algorithm into git, and get rid of the dependency on an external GNU diff? It would also make the portability problems go away (ie old diff's being broken).

It would also potentially speed up the normal built-in diff a lot, since we wouldn't have to execute a whole other program to generate a diff, just call a helper function the way we do for xdiff..

Unreasonable?
		Linus
Previous: Fredrik KuivinenNext: Daniel Barkalow
Message 4 of 5 in “Make sure the diff machinery outputs "\ No newline ..." in english”
  1. Make sure the diff machinery outputs "\ No newline ..." in englishFredrik Kuivinen, Sep 4, 2005
  2. Junio C HamanoSep 4, 2005
  3. Fredrik KuivinenSep 5, 2005
  4. Linus TorvaldsSep 5, 2005
  5. Daniel BarkalowSep 6, 2005

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.