{"thread":{"id":"4813","subject":"[PATCH 1/1] Disable color detection during format-patch","startedAt":"2006-07-09T06:28:21Z","lastAt":"2006-07-09T06:59:48Z","messageCount":2,"participants":["Ryan Anderson","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":1},"messages":[{"id":"23451","messageId":"11524265013620-git-send-email-ryan@michonline.com","threadId":"4813","inReplyTo":null,"subject":"[PATCH 1/1] Disable color detection during format-patch","fromName":"Ryan Anderson","fromEmail":"ryan@michonline.com","sentAt":"2006-07-09T06:28:21Z","receivedAt":"2006-07-09T06:28:21Z","isPatch":true,"sender":{"key":"ryan@michonline.com","avatar":null},"body":"Signed-off-by: Ryan Anderson <ryan@michonline.com>\n---\n builtin-log.c |    3 +++\n 1 files changed, 3 insertions(+), 0 deletions(-)\n\ndiff --git a/builtin-log.c b/builtin-log.c\nindex 698b71e..0aeeaa4 100644\n--- a/builtin-log.c\n+++ b/builtin-log.c\n@@ -105,6 +105,9 @@ static int git_format_config(const char \n \t\tstrcat(extra_headers, value);\n \t\treturn 0;\n \t}\n+\tif (!strcmp(var, \"diff.color\")) {\n+\t\treturn 0;\n+\t}\n \treturn git_diff_config(var, value);\n }\n \n-- \n1.4.1.gc473b-dirty\n"},{"id":"23454","messageId":"7v8xn3p8kb.fsf@assigned-by-dhcp.cox.net","threadId":"4813","inReplyTo":"11524265013620-git-send-email-ryan@michonline.com","subject":"Re: [PATCH 1/1] Disable color detection during format-patch","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-09T06:59:48Z","receivedAt":"2006-07-09T06:59:48Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Obviously correct -- thanks.\n"}]}