summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61d7256)
raw | patch | inline | side by side (parent: 61d7256)
author | Jeff King <peff@peff.net> | |
Tue, 15 May 2007 15:35:13 +0000 (11:35 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 16 May 2007 19:37:25 +0000 (12:37 -0700) |
When we add Content-Type: header, we should also add
MIME-Version: header as well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
MIME-Version: header as well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | patch | blob | history |
diff --git a/commit.c b/commit.c
index 7d78e786e9a6a6a3566cb7aa6555a815d79f9e4b..43b767ce5342624f98603e83ba3ec263ea8a7dda 100644 (file)
--- a/commit.c
+++ b/commit.c
int sz;
char header[512];
const char *header_fmt =
+ "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=%s\n"
"Content-Transfer-Encoding: 8bit\n";
sz = snprintf(header, sizeof(header), header_fmt,