summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-16 12:43:05 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-16 12:43:05 -0700
commitfdcb769916c93b53517ef1b4cae447a3333c9b86 (patch)
tree15900032ae854c16292e8d8e0b5d1f089b5c8263 /commit.c
parent7e431ef9ab933d7ff899a999e40627ab49774f3a (diff)
parent0ab564be6e59c66c7aa4fc44997f3fc62ebcd0d9 (diff)
downloadgit-fdcb769916c93b53517ef1b4cae447a3333c9b86.tar.gz
Merge branch 'maint'
* maint: format-patch: add MIME-Version header when we add content-type. Fixed link in user-manual import-tars: Use the "Link indicator" to identify directories git name-rev writes beyond the end of malloc() with large generations Documentation/branch: fix small typo in -D example
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.c b/commit.c
index d01833d813..bee066fa32 100644
--- a/commit.c
+++ b/commit.c
@@ -1063,6 +1063,7 @@ unsigned long pretty_print_commit(enum cmit_fmt fmt,
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,