Disable color detection during format-patch
authorRyan Anderson <ryan@michonline.com>
Sun, 9 Jul 2006 06:28:21 +0000 (02:28 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Jul 2006 07:48:16 +0000 (00:48 -0700)
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c
index 698b71ecc8acb0e62b32ea6f1df6f1a4fc251058..0aeeaa4e20ceaaad32707749b0aed03bd390c46a 100644 (file)
@@ -105,6 +105,9 @@ static int git_format_config(const char *var, const char *value)
                strcat(extra_headers, value);
                return 0;
        }
+       if (!strcmp(var, "diff.color")) {
+               return 0;
+       }
        return git_diff_config(var, value);
 }