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

[bug] git add -p breaks, if color.ui is set to "always"

From
AGAlexander Gehrke <alexander.gehrke@qwertyuiop.de>
Date
Oct 6, 2017, 12:47 UTC
Message-ID
<20171006124730.onetucvpt3btlali@wheatley.informatik.uni-wuerzburg.de>

After an update to version 2.14.2 from 2.14.1 "git add --patch" stopped working for me, just producing the same output as "git diff", but not prompting to stage anything.

I found that unsetting the config key color.ui, which was set to "always" fixed the problem.

From the manpage, color.ui should not have that effect and "always" should be a legal value.

Regards Alexander Gehrke

Next: Kevin Daudt
Message 1 of 2 in “[bug] git add -p breaks, if color.ui is set to "always"”
  1. Alexander GehrkeOct 6, 2017
  2. Kevin DaudtOct 6, 2017

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.