Closed
Description
If I run the python script using gitpython with this env var:
export GIT_COMMITTER_NAME="Thomas Müller"
I get this exception:
Error
Traceback (most recent call last):
File "/home/foo_eins_d/src/scmtools/scm/tests/test_git.py", line 25, in test_git_status
repo.index.commit('initial commit')
File "/home/foo_eins_d/local/lib/python2.7/site-packages/git/index/base.py", line 900, in commit
head, author=author, committer=committer)
File "/home/foo_eins_d/local/lib/python2.7/site-packages/git/objects/commit.py", line 349, in create_from_tree
new_commit._serialize(stream)
File "/home/foo_eins_d/local/lib/python2.7/site-packages/git/objects/commit.py", line 392, in _serialize
altz_to_utctz_str(self.committer_tz_offset))).encode(self.encoding))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)
Version: GitPython==0.3.5