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

Re: [PATCH] diff-options.txt: document --[no]-textconv

From
Jeff King <peff@peff.net>
Date
May 24, 2011, 19:43 UTC
Message-ID
<20110524194322.GC584@sigill.intra.peff.net>
In-Reply-To
<1306196874-64687-1-git-send-email-jaysoffian@gmail.com>
On Mon, May 23, 2011 at 08:27:54PM -0400, Jay Soffian wrote:
> textconv also seems to be supported by blame, it isn't clear to me whether
> it respects --no-textconv.
Yeah, it should, via the regular diff option parser.
Show 5 quoted lines
> +--textconv::
> +	Text conversion of binary files is enabled by default if configured
> +	according to "Performing text diffs of binary files" in
> +	linkgit:gitattributes[5], but may be disabled with `--no-textconv`.
> +	This option overrides a previously given `--no-textconv`.

It's only on by default for porcelain commands (log, show, diff). Plumbing commands do not allow textconv unless --textconv is given.

I don't offhand recall whether it is on by default for blame.
-Peff
Previous: Junio C HamanoNext: Jeff King
Message 3 of 4 in “diff-options.txt: document --[no]-textconv”
  1. diff-options.txt: document --[no]-textconvJay Soffian, May 24, 2011
  2. Junio C HamanoMay 24, 2011
  3. Jeff KingMay 24, 2011
  4. doc: discuss textconv versus external diff driversJeff King, May 24, 2011

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.