Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62078d commit 90c4db1Copy full SHA for 90c4db1
git/refs/symbolic.py
@@ -87,7 +87,7 @@ def _iter_packed_refs(cls, repo):
87
"""Returns an iterator yielding pairs of sha1/path pairs (as bytes) for the corresponding refs.
88
:note: The packed refs file will be kept open as long as we iterate"""
89
try:
90
- 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:
91
for line in fp:
92
line = line.strip()
93
if not line:
0 commit comments