upload-pack: use object pointer not copy of sha1 to keep track of has/needs.
[gitweb.git] / 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);
 }