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

Re: Unable to use --patch with git add

From
Ayush Goel <ayushgoel111@gmail.com>
Date
Oct 11, 2017, 18:13 UTC
Message-ID
<CAEBs8jLyvyE+t=9mDHkD0nUY2SBYymg44BeQbUF0Li4CSZhMWg@mail.gmail.com>
In-Reply-To
<20171011180015.mqn5xkj5z4yjdrhm@sigill.intra.peff.net>
Hey Jeff,
Thank you for your mail. It works :)
For future reference, is there a page for known issues of git?
On Wed, Oct 11, 2017 at 11:30 PM, Jeff King <peff@peff.net> wrote:
Show 19 quoted lines
> On Wed, Oct 11, 2017 at 11:25:52PM +0530, Ayush Goel wrote:
>
>> On Wed, Oct 11, 2017 at 11:19 PM, Santiago Torres <santiago@nyu.edu> wrote:
>> > It'd be helpful to know:
>> >
>> > - What did you do?
>>
>> I have recently updated to git version 2.14.2. The problem started
>> happening after that.
>> Made changes to a file. Tried `git add -p`.
>
> This is a known issue in v2.14.2 with having "color.ui" set to "always"
> in your config.
>
> There's a fix in v2.15.0-rc1. You can either upgrade to that, or as a
> workaround set "color.ui" to "auto" (or remove it completely from your
> config, as "auto" is the default).
>
> -Peff
-- 
Regards,
Ayush Goel
Previous: Jeff KingNext: Jeff King
Message 5 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.