Skip to content

Commit

Permalink
Merge branch 'mr/support-utf8' into 'master'
Browse files Browse the repository at this point in the history
Support utf8 in git log

See merge request it/e3-core!46
  • Loading branch information
elsaferrara committed Sep 27, 2024
2 parents 0f0bf66 + 791531d commit f81e8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/e3/anod/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def update_git(
g.write_log(fd, rev_range=f"{old_commit}..{new_commit}")
tmp_filename = fd.name
try:
with open(tmp_filename) as fd:
with open(tmp_filename, encoding="utf8") as fd:
commits = list(g.parse_log(fd, max_diff_size=1024))
finally:
rm(tmp_filename)
Expand Down

0 comments on commit f81e8d3

Please sign in to comment.