diff options
author | Jeff King <peff@peff.net> | 2007-03-28 17:52:09 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-28 15:06:18 -0700 |
commit | d0e50cb4cb8e0cc8b445a9749547019efaa5703e (patch) | |
tree | 142558d300e99c0123792f53f08ac88d514489cf /t/t6003-rev-list-topo-order.sh | |
parent | t4118: be nice to non-GNU sed (diff) | |
download | tgif-d0e50cb4cb8e0cc8b445a9749547019efaa5703e.tar.xz |
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 't/t6003-rev-list-topo-order.sh')
0 files changed, 0 insertions, 0 deletions