From: Thomas Gummerer <t.gummerer@gmail.com>
To: Tsvi Mostovicz <ttmost@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git add -p stops working when setting color.ui = always
Date: Mon, 2 Oct 2017 19:54:15 +0100 [thread overview]
Message-ID: <20171002185415.GB30301@hank> (raw)
In-Reply-To: <CAB2yay8LLeNbqR4kkTwF1U+oarVDRxgkV4uGXuYcO8mAQmhWQQ@mail.gmail.com>
Hi,
On 10/02, Tsvi Mostovicz wrote:
> Hi,
>
> When setting "color.ui = always" in the last few versions (not sure
> exactly when this started, but definitely exists in 2.14.1 and
> 2.14.2), git add -p stops working as expected. Instead of prompting
> the user, it skips through the prompts and doesn't allow selecting a
> hunk.
This is a known change in behaviour (for more information see the
thread at
https://public-inbox.org/git/86D0A377-8AFD-460D-A90E-6327C6934DFC@gmail.com/).
>
> Don't know why I had color.ui = always set in my .gitconfig.
Can you set color.ui = auto instead? That should give you colored
output on the terminal, while not breaking git add -p.
> git version 2.14.2.666.gea220ee40
>
> Thanks,
>
>
> Tsvi Mostovicz
> ttmost@gmail.com
> www.linkedin.com/in/tsvim
next prev parent reply other threads:[~2017-10-02 18:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 10:38 git add -p stops working when setting color.ui = always Tsvi Mostovicz
2017-10-02 18:54 ` Thomas Gummerer [this message]
2017-10-03 19:36 ` Kevin Daudt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171002185415.GB30301@hank \
--to=t.gummerer@gmail.com \
--cc=git@vger.kernel.org \
--cc=ttmost@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).