git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/1] Disable color detection during format-patch

From
RARyan Anderson <ryan@michonline.com>
Date
Jul 9, 2006, 06:28 UTC
Message-ID
<11524265013620-git-send-email-ryan@michonline.com>
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
Next: Junio C Hamano
Message 1 of 2 in “Disable color detection during format-patch”
  1. 1/1 Disable color detection during format-patchRyan Anderson, Jul 9, 2006
  2. Junio C HamanoJul 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.