Re: [PATCH] gitk: use --textconv to generate diff text
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- May 11, 2009, 07:34 UTC
- Message-ID
- <4A07D51A.4090409@viscovery.net>
- In-Reply-To
- <4A07D160.9020709@viscovery.net>
Johannes Sixt schrieb:
Show 7 quoted lines
> From: Johannes Sixt <j6t@kdbg.org> > Date: Tue, 28 Apr 2009 14:03:54 +0200 > > For the most part gitk's focus is on showing history and changes in > a human readable form. For this reason, it makes sense to generate > the patch text in the diff view using --textconv so that textconv drivers > are used if they are defined.
FWIW, I keep a few Word documents in git and use catdoc as textconv driver. This works pretty well. Git-gui doesn't show any textual changes (it treats the Word files as binary, and it has to), with this patch I can use gitk to preview the changes in the worktree and the index.
-- Hannes