]> git.ipfire.org Git - thirdparty/git.git/commit - commit.h
pretty.c: teach format_commit_message() to reencode the output
authorPat Notz <patnotz@gmail.com>
Tue, 2 Nov 2010 19:59:08 +0000 (13:59 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Nov 2010 20:53:34 +0000 (13:53 -0700)
commit177b29dcab4c6a1b291b718c1fb192d151356f3f
tree07605c8b609f51cf9ad21ba1bd4f78893f8bcbe9
parenta6fa59924d154f2dcfc331357bf553e043aa0242
pretty.c: teach format_commit_message() to reencode the output

format_commit_message() will now reencode the content if the desired
output encoding is different from the encoding in the passed in
commit.  Callers wanting to specify the output encoding do so via the
pretty_print_context struct.

Signed-off-by: Pat Notz <patnotz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.h
pretty.c