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

Re: Unable to use --patch with git add

From
Kevin Daudt <me@ikke.info>
Date
Oct 11, 2017, 18:49 UTC
Message-ID
<20171011184907.GD16800@alpha.vpn.ikke.info>
In-Reply-To
<CAEBs8jLnU44n2fhE8tGommqfEpFPdd0FLUtmeZXZ+qhB1RV6XQ@mail.gmail.com>
On Wed, Oct 11, 2017 at 11:16:39PM +0530, Ayush Goel wrote:
Show 5 quoted lines
> $ git --version
> git version 2.14.2
> 
> What more details can I provide to help debug this?
> 
Hello Ayush,
Run:
  git config --global color.ui auto
  git config --unset --local color.ui #in case it's set locally

This is a known 'breakage' because people have set color.ui to always (which should not be used anyway).

Kind regards, Kevin
Previous: Jonathan Nieder
Message 8 of 8 in “Unable to use --patch with git add”
  1. Ayush GoelOct 11, 2017
  2. Santiago TorresOct 11, 2017
  3. Ayush GoelOct 11, 2017
  4. Jeff KingOct 11, 2017
  5. Ayush GoelOct 11, 2017
  6. Jeff KingOct 11, 2017
  7. Jonathan NiederOct 12, 2017
  8. Kevin DaudtOct 11, 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.