{"thread":{"id":"35296","subject":"Colorize output","startedAt":"2013-11-07T18:10:11Z","lastAt":"2013-11-07T18:32:48Z","messageCount":2,"participants":["Nicolas","John Keeping"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"230204","messageId":"527BD783.7080606@homecomputing.fr","threadId":"35296","inReplyTo":null,"subject":"Colorize output","fromName":"Nicolas","fromEmail":"sanpi@homecomputing.fr","sentAt":"2013-11-07T18:10:11Z","receivedAt":"2013-11-07T18:10:11Z","isPatch":false,"sender":{"key":"sanpi@homecomputing.fr","avatar":null},"body":"Hello,\n\nI’m developping a git command in shell and I would like colorize the output.\n\nI don’t find anything in git-sh-setup.\n\nWhat is the best way for don’t reinvent the wheel?\n\nThanks in advance.\n\nBest regards.\nNicolas.\n\n"},{"id":"230205","messageId":"20131107183248.GO24023@serenity.lan","threadId":"35296","inReplyTo":"527BD783.7080606@homecomputing.fr","subject":"Re: Colorize output","fromName":"John Keeping","fromEmail":"john@keeping.me.uk","sentAt":"2013-11-07T18:32:48Z","receivedAt":"2013-11-07T18:32:48Z","isPatch":false,"sender":{"key":"john@keeping.me.uk","avatar":"https://avatars.githubusercontent.com/u/1702081?v=4"},"body":"On Thu, Nov 07, 2013 at 07:10:11PM +0100, Nicolas wrote:\n> I’m developping a git command in shell and I would like colorize the output.\n> \n> I don’t find anything in git-sh-setup.\n> \n> What is the best way for don’t reinvent the wheel?\n\nI normally use \"git config --get-color ...\" either with standard colors\nif my command is close to a standard command or with my own config keys\nand sensible defaults.\n"}]}