author | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Mar 2007 22:39:57 +0000 (15:39 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Mar 2007 22:39:57 +0000 (15:39 -0700) |
1 | 2 | |||
---|---|---|---|---|
commit.c | patch | | diff1 | | diff2 | | blob | history |
git-commit.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc commit.c
index a4f2e74c0b9b17a467fd9c4d3f5a2d275d5ea038,1fe23b6e3a9d4bf46948be2b19a96049d944bb1a..754d1b8a0b8282fd3d1d6bd8f6ccb21b407504a5
+++ b/commit.c
}
}
-static char *replace_encoding_header(char *buf, char *encoding)
+static char *replace_encoding_header(char *buf, const char *encoding)
{
char *encoding_header = strstr(buf, "\nencoding ");
+ char *header_end = strstr(buf, "\n\n");
char *end_of_encoding_header;
int encoding_header_pos;
int encoding_header_len;
diff --cc git-commit.sh
Simple merge