{"thread":{"id":"46881","subject":"git add -p stops working when setting color.ui = always","startedAt":"2017-10-02T10:38:44Z","lastAt":"2017-10-03T19:36:57Z","messageCount":3,"participants":["Tsvi Mostovicz","Thomas Gummerer","Kevin Daudt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"329434","messageId":"CAB2yay8LLeNbqR4kkTwF1U+oarVDRxgkV4uGXuYcO8mAQmhWQQ@mail.gmail.com","threadId":"46881","inReplyTo":null,"subject":"git add -p stops working when setting color.ui = always","fromName":"Tsvi Mostovicz","fromEmail":"ttmost@gmail.com","sentAt":"2017-10-02T10:38:17Z","receivedAt":"2017-10-02T10:38:44Z","isPatch":false,"sender":{"key":"ttmost@gmail.com","avatar":null},"body":"Hi,\n\nWhen setting \"color.ui = always\" in the last few versions (not sure\nexactly when this started, but definitely exists in 2.14.1 and\n2.14.2), git add -p stops working as expected. Instead of prompting\nthe user, it skips through the prompts and doesn't allow selecting a\nhunk.\n\nDon't know why I had color.ui = always set in my .gitconfig.\n\ngit version 2.14.2.666.gea220ee40\n\nThanks,\n\n\nTsvi Mostovicz\nttmost@gmail.com\nwww.linkedin.com/in/tsvim\n"},{"id":"329472","messageId":"20171002185415.GB30301@hank","threadId":"46881","inReplyTo":"CAB2yay8LLeNbqR4kkTwF1U+oarVDRxgkV4uGXuYcO8mAQmhWQQ@mail.gmail.com","subject":"Re: git add -p stops working when setting color.ui = always","fromName":"Thomas Gummerer","fromEmail":"t.gummerer@gmail.com","sentAt":"2017-10-02T18:54:15Z","receivedAt":"2017-10-02T18:53:30Z","isPatch":false,"sender":{"key":"t.gummerer@gmail.com","avatar":"https://avatars.githubusercontent.com/u/191004?v=4"},"body":"Hi,\n\nOn 10/02, Tsvi Mostovicz wrote:\n> Hi,\n> \n> When setting \"color.ui = always\" in the last few versions (not sure\n> exactly when this started, but definitely exists in 2.14.1 and\n> 2.14.2), git add -p stops working as expected. Instead of prompting\n> the user, it skips through the prompts and doesn't allow selecting a\n> hunk.\n\nThis is a known change in behaviour (for more information see the\nthread at\nhttps://public-inbox.org/git/86D0A377-8AFD-460D-A90E-6327C6934DFC@gmail.com/).\n\n> \n> Don't know why I had color.ui = always set in my .gitconfig.\n\nCan you set color.ui = auto instead?  That should give you colored\noutput on the terminal, while not breaking git add -p.\n\n> git version 2.14.2.666.gea220ee40\n> \n> Thanks,\n> \n> \n> Tsvi Mostovicz\n> ttmost@gmail.com\n> www.linkedin.com/in/tsvim\n"},{"id":"329586","messageId":"20171003193651.GB1667@alpha.vpn.ikke.info","threadId":"46881","inReplyTo":"CAB2yay8LLeNbqR4kkTwF1U+oarVDRxgkV4uGXuYcO8mAQmhWQQ@mail.gmail.com","subject":"Re: git add -p stops working when setting color.ui = always","fromName":"Kevin Daudt","fromEmail":"me@ikke.info","sentAt":"2017-10-03T19:36:51Z","receivedAt":"2017-10-03T19:36:57Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Mon, Oct 02, 2017 at 01:38:17PM +0300, Tsvi Mostovicz wrote:\n> Hi,\n> \n> When setting \"color.ui = always\" in the last few versions (not sure\n> exactly when this started, but definitely exists in 2.14.1 and\n> 2.14.2), git add -p stops working as expected. Instead of prompting\n> the user, it skips through the prompts and doesn't allow selecting a\n> hunk.\n> \n> Don't know why I had color.ui = always set in my .gitconfig.\n> \n> git version 2.14.2.666.gea220ee40\n> \n> Thanks,\n> \n\nHello Tsvi,\n\nThis is being discussed just now[0]. Setting the value to auto should\nfix it (setting it to always does not make much sense in your config\nfile).\n\nKevin.\n\n[0}:https://public-inbox.org/git/20171003093157.gq7za2fwcqsouire@sigill.intra.peff.net/T/\n"}]}