Skip to content

Commit f7d2473

Browse files
committed
Merge pull request #384 from ybai-thrillist/revert-382-patch-1
Revert "fixed commit non-ascii char problem"
2 parents 4be198a + c2e5a0f commit f7d2473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def message_done(self, message):
121121
message_file.close()
122122
self.message_file = message_file
123123
# and actually commit
124-
with open(message_file.name, 'r', encoding='utf-8') as fp:
124+
with open(message_file.name, 'r') as fp:
125125
self.run_command(['git', 'commit', '-F', '-', self.extra_options],
126126
self.commit_done, working_dir=self.working_dir, stdin=fp.read())
127127

0 commit comments

Comments
 (0)