Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Disable color detection during format-patch
author
Ryan Anderson
<ryan@michonline.com>
Sun, 9 Jul 2006 06:28:21 +0000
(
02:28
-0400)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
135a522
)
diff --git
a/builtin-log.c
b/builtin-log.c
index 698b71ecc8acb0e62b32ea6f1df6f1a4fc251058..0aeeaa4e20ceaaad32707749b0aed03bd390c46a 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-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);
}