Skip to content
Snippets Groups Projects
user avatar
Constantine Plotnikov authored
When reading commits the system default encoding was used if no
encoding was specified in the commit. The patch modifies the test
to add a check that commit message was encoded correctly (the
test fails on old implementation if system encoding is not UTF-8)
and fixes Commit.decode() method to use UTF-8 if encoding is not
specified in the commit object.

Change-Id: I27101da3c2eb6edd0c4a9e4c0523e48b286e3cd5
Signed-off-by: default avatarConstantine Plotnikov <constantine.plotnikov@gmail.com>
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
982515cf
History
Name Last commit Last update