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

git-gui: textconv not used on unstaged files

From
Peter Oberndorfer <kumbayo84@arcor.de>
Date
Oct 24, 2012, 18:33 UTC
Message-ID
<5088347F.50503@arcor.de>
Hi,

i am using a textconv filter to display .doc files as plain text. It seems git gui does not use this textconv filter for displaying new unstaged files (other files? = _O) It seems diff.tcl start_show_diff calls show_other_diff because of this. This manually loads the file and does not care about textconv filters.

Is this manual loading really necessary or can't we just ask git? If it is can it be modified to use the textconv filter?

Thanks, Greetings Peter

.gitattributes: *.doc diff=astextplain

gitconfig:
[diff "astextplain"]
     textconv = astextplain
Next: Peter Oberndorfer
Message 1 of 4 in “git-gui: textconv not used on unstaged files”
  1. Peter OberndorferOct 24, 2012
  2. Peter OberndorferNov 26, 2012
  3. Junio C HamanoNov 26, 2012
  4. Peter OberndorferNov 27, 2012

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.