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

["BUG"] builtin add-interactive does not honor 'color.diff. frag'

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Nov 6, 2020, 16:31 UTC
Message-ID
<313B8999-1E99-4695-A20D-E48840C30879@gmail.com>
Hi Johannes,

I tried the builtin add-interactive for the first time today, and noticed a very minor difference with the Perl version. The title says it all.

Repro:

# Change the default color $ git config color.diff.frag "magenta bold" # Compare $ git add -p # and $ git -c add.interactive.useBuiltin=true add -p # I'm on latest master $ git --version git version 2.29.2.154.g7f7ebe054a

Cheers, Philippe.

Next: Jeff King
Message 1 of 8 in “["BUG"] builtin add-interactive does not honor 'color.diff. frag'”
  1. Philippe BlainNov 6, 2020
  2. Jeff KingNov 6, 2020
  3. Johannes SchindelinNov 10, 2020
  4. Jeff KingNov 10, 2020
  5. add-interactive.c: use correct names to load color.diff.* configJeff King, Nov 10, 2020
  6. Johannes SchindelinNov 10, 2020
  7. Jeff KingNov 10, 2020
  8. Johannes SchindelinNov 10, 2020

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.