summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes-1.5.0.6.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-03-28 21:52:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-28 22:06:18 (GMT)
commitd0e50cb4cb8e0cc8b445a9749547019efaa5703e (patch)
tree142558d300e99c0123792f53f08ac88d514489cf /Documentation/RelNotes-1.5.0.6.txt
parent75c962c99a9115d489549ad9b8419d3e37e85f02 (diff)
downloadgit-d0e50cb4cb8e0cc8b445a9749547019efaa5703e.zip
git-d0e50cb4cb8e0cc8b445a9749547019efaa5703e.tar.gz
git-d0e50cb4cb8e0cc8b445a9749547019efaa5703e.tar.bz2
commit: fix pretty-printing of messages with "\nencoding "
The function replace_encoding_header is given the whole commit buffer, including the commit message. When looking for the encoding header, if none was found in the header, it would locate any line in the commit message matching "\nencoding " and remove it. Instead, we now make sure to search only to the end of the header. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/RelNotes-1.5.0.6.txt')
0 files changed, 0 insertions, 0 deletions