git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Disable color detection during format-patch
@ 2006-07-09  6:28 Ryan Anderson
  2006-07-09  6:59 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Anderson @ 2006-07-09  6:28 UTC (permalink / raw)
  To: junkio; +Cc: git, Ryan Anderson

Signed-off-by: Ryan Anderson <ryan@michonline.com>
---
 builtin-log.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/builtin-log.c b/builtin-log.c
index 698b71e..0aeeaa4 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -105,6 +105,9 @@ static int git_format_config(const char 
 		strcat(extra_headers, value);
 		return 0;
 	}
+	if (!strcmp(var, "diff.color")) {
+		return 0;
+	}
 	return git_diff_config(var, value);
 }
 
-- 
1.4.1.gc473b-dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Disable color detection during format-patch
  2006-07-09  6:28 [PATCH 1/1] Disable color detection during format-patch Ryan Anderson
@ 2006-07-09  6:59 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-07-09  6:59 UTC (permalink / raw)
  To: Ryan Anderson; +Cc: git

Obviously correct -- thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-09  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09  6:28 [PATCH 1/1] Disable color detection during format-patch Ryan Anderson
2006-07-09  6:59 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).