commit | 08a94a145c3231c0fa36469682591a3c45222271 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 28 11:24:14 2012 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Aug 21 16:10:53 2012 -0700 |
tree | f25e5463156188f41e00da2f284fd8eb1b756bf2 | |
parent | 4c8a9db6f7dd9e10b5ce9bfbcd5faa82a8c86ce3 [diff] |
commit/commit-tree: correct latin1 to utf-8 When a line in the message is not a valid utf-8, "git mailinfo" attempts to convert it to utf-8 assuming the input is latin1 (and punt if it does not convert cleanly). Using the same heuristics in "git commit" and "git commit-tree" lets the editor output be in latin1 to make the overall system more consistent. Signed-off-by: Junio C Hamano <gitster@pobox.com>