diff --git a/src/e3/anod/checkout.py b/src/e3/anod/checkout.py index 6b872f08..f41be3dc 100644 --- a/src/e3/anod/checkout.py +++ b/src/e3/anod/checkout.py @@ -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)