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

Re: Understanding and improving --word-diff

From
Thomas Rast <trast@student.ethz.ch>
Date
Nov 8, 2010, 16:33 UTC
Message-ID
<201011081733.06502.trast@student.ethz.ch>
In-Reply-To
<vpqlj53zuum.fsf@bauges.imag.fr>
Matthieu Moy wrote:
Show 9 quoted lines
> Matthijs Kooijman <matthijs@stdin.nl> writes:
> 
> > Lastly, the "porcelain" word-diff format seems a bit weird to me. Is
> > the format specified somewhere, or are there any programs that use it
> > currently? I couldn't find any users inside the git.git tree itself?
> 
> There's a pending patch for "gitk --color-words". Actually, the
> porcelain format was precisely implemented to allow this patch to
> exist IIRC.

Also, my intent was to specify the format fully under its option description. It's rather simple, but if you think the explanation/definition is inadequate, please provide a patch. We'd really want the writers of consumers (GUIs and such) to be very clear about how it is formatted.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Matthijs KooijmanNext: Wincent Colaiuta
Message 4 of 10 in “Understanding and improving --word-diff”
  1. Matthijs KooijmanNov 8, 2010
  2. Matthieu MoyNov 8, 2010
  3. Matthijs KooijmanNov 8, 2010
  4. Thomas RastNov 8, 2010
  5. Wincent ColaiutaNov 8, 2010
  6. Thomas RastNov 8, 2010
  7. Jeff KingNov 9, 2010
  8. Johannes SchindelinNov 10, 2010
  9. Jeff KingNov 10, 2010
  10. Jeff KingNov 18, 2010

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.