git add -p stops working when setting color.ui = always
- From
- Tsvi Mostovicz <ttmost@gmail.com>
- Date
- Oct 2, 2017, 10:38 UTC
- Message-ID
- <CAB2yay8LLeNbqR4kkTwF1U+oarVDRxgkV4uGXuYcO8mAQmhWQQ@mail.gmail.com>
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.
Don't know why I had color.ui = always set in my .gitconfig.
git version 2.14.2.666.gea220ee40
Thanks,
Tsvi Mostovicz ttmost@gmail.com www.linkedin.com/in/tsvim