summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-04-18 23:08:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-18 23:28:27 (GMT)
commit0940a76db621e87fe7bf569e7e2e7d703d4be592 (patch)
treed6be1281bbb895c1f8c28ffc7bf0c216b7dc34a2 /log-tree.h
parent5a10d236583f4a674e8fd969c877844c0a9ccb17 (diff)
downloadgit-0940a76db621e87fe7bf569e7e2e7d703d4be592.zip
git-0940a76db621e87fe7bf569e7e2e7d703d4be592.tar.gz
git-0940a76db621e87fe7bf569e7e2e7d703d4be592.tar.bz2
pretty: get the correct encoding for --pretty:format=%e
parse_commit_header() provides the commit encoding for '%e' and it reads it from the re-encoded message, which contains the new encoding, not the original one in the commit object. This never happens because --pretty=format:xxx never respects i18n.logoutputencoding. But that's a different story. Get the commit encoding from logmsg_reencode() instead. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.h')
0 files changed, 0 insertions, 0 deletions