{"thread":{"id":"20146","subject":"Is it possible to configure the color of git diff outpyut","startedAt":"2009-07-17T16:35:44Z","lastAt":"2009-07-17T17:45:29Z","messageCount":3,"participants":["n179911","Junio C Hamano","Mike Hommey"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118186","messageId":"3b9893450907170935k53baf50fue84fe619624a4489@mail.gmail.com","threadId":"20146","inReplyTo":null,"subject":"Is it possible to configure the color of git diff outpyut","fromName":"n179911","fromEmail":"n179911@gmail.com","sentAt":"2009-07-17T16:35:44Z","receivedAt":"2009-07-17T16:35:44Z","isPatch":false,"sender":{"key":"n179911@gmail.com","avatar":null},"body":"Hi,\n\nWhen I do git diff, for example, it has color output (red for \"-\" and\ngreen for \"+\").\nCan you please tell me how can I change the color used?\n\nThank you.\n"},{"id":"118188","messageId":"7vbpnj5k2l.fsf@alter.siamese.dyndns.org","threadId":"20146","inReplyTo":"3b9893450907170935k53baf50fue84fe619624a4489@mail.gmail.com","subject":"Re: Is it possible to configure the color of git diff outpyut","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-07-17T16:51:46Z","receivedAt":"2009-07-17T16:51:46Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"n179911 <n179911@gmail.com> writes:\n\n> When I do git diff, for example, it has color output (red for \"-\" and\n> green for \"+\").\n> Can you please tell me how can I change the color used?\n\nCan you please tell us what resources you consulted to figure this out\nyourself before asking your question on this list?  I am not complaining;\nI am trying to see how a \"typical\" user finds information on our software,\nso that we can potentially optimize our documentation set to make it\neasier to find answers to common questions.\n\nThe answer to your question is found by looking for color.diff.<slot> in\n\"git help config\".\n"},{"id":"118191","messageId":"20090717174529.GB2925@glandium.org","threadId":"20146","inReplyTo":"7vbpnj5k2l.fsf@alter.siamese.dyndns.org","subject":"Re: Is it possible to configure the color of git diff outpyut","fromName":"Mike Hommey","fromEmail":"mh@glandium.org","sentAt":"2009-07-17T17:45:29Z","receivedAt":"2009-07-17T17:45:29Z","isPatch":false,"sender":{"key":"mh@glandium.org","avatar":"https://avatars.githubusercontent.com/u/1038527?v=4"},"body":"On Fri, Jul 17, 2009 at 09:51:46AM -0700, Junio C Hamano wrote:\n> n179911 <n179911@gmail.com> writes:\n> \n> > When I do git diff, for example, it has color output (red for \"-\" and\n> > green for \"+\").\n> > Can you please tell me how can I change the color used?\n> \n> Can you please tell us what resources you consulted to figure this out\n> yourself before asking your question on this list?  I am not complaining;\n> I am trying to see how a \"typical\" user finds information on our software,\n> so that we can potentially optimize our documentation set to make it\n> easier to find answers to common questions.\n\nI think it would make sense to have reference to configuration items\nthat have a special impact on commands in their manual pages. Or at\nleast a \"See Also\" section mentioning \"git-config\".\n\nMike\n"}]}