diff options
Diffstat (limited to 'git')
-rw-r--r-- | git/objects/tag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/tag.py b/git/objects/tag.py index 017c4988..b9bc6c24 100644 --- a/git/objects/tag.py +++ b/git/objects/tag.py @@ -50,7 +50,7 @@ class TagObject(base.Object): """Cache all our attributes at once""" if attr in TagObject.__slots__: ostream = self.repo.odb.stream(self.binsha) - lines = ostream.read().decode(defenc).splitlines() + lines = ostream.read().decode(defenc, 'replace').splitlines() _obj, hexsha = lines[0].split(" ") _type_token, type_name = lines[1].split(" ") |