diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/source/changes.rst | 2 | ||||
-rw-r--r-- | git/refs/symbolic.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -3.1.13 +3.1.14 diff --git a/doc/source/changes.rst b/doc/source/changes.rst index 405179d0..85f9ef1b 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -2,7 +2,7 @@ Changelog ========= -3.1.?? +3.1.14 ====== * git.Commit objects now have a ``replace`` method that will return a diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index 60cfe554..bd41cb60 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -87,7 +87,7 @@ class SymbolicReference(object): """Returns an iterator yielding pairs of sha1/path pairs (as bytes) for the corresponding refs. :note: The packed refs file will be kept open as long as we iterate""" try: - with open(cls._get_packed_refs_path(repo), 'rt') as fp: + with open(cls._get_packed_refs_path(repo), 'rt', encoding='UTF-8') as fp: for line in fp: line = line.strip() if not line: |