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