Merge branch 'maint' to synchronize with 1.5.0.6
authorJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 22:39:57 +0000 (15:39 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 22:39:57 +0000 (15:39 -0700)
1  2 
commit.c
git-commit.sh

diff --cc commit.c
+++ b/commit.c
@@@ -651,9 -641,10 +651,10 @@@ static char *get_header(const struct co
        }
  }
  
 -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