mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Encode message and committer for git commits (fix #313)
This commit is contained in:
parent
6babebd315
commit
7b82121c12
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ def open(path, mode="r"):
|
|||
path = os.path.relpath(abs_path, FOLDER)
|
||||
GIT_REPOSITORY.stage([path])
|
||||
committer = config.get("git", "committer")
|
||||
GIT_REPOSITORY.do_commit(path, committer=committer)
|
||||
GIT_REPOSITORY.do_commit(
|
||||
path.encode("utf-8"), committer=committer.encode("utf-8"))
|
||||
# pylint: enable=W0622
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue