File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Bugfixes
13
13
14
14
* Changed to use UTF-8 instead of default encoding when getting information about a symbolic reference
15
15
(`#774 <https://github.com/gitpython-developers/GitPython/issues/774 >`_)
16
+ * Fixed decoding of tag object message so as to replace invalid bytes
17
+ (`#943 <https://github.com/gitpython-developers/GitPython/issues/943 >`_)
16
18
17
19
3.0.8
18
20
=====
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def _set_cache_(self, attr):
50
50
"""Cache all our attributes at once"""
51
51
if attr in TagObject .__slots__ :
52
52
ostream = self .repo .odb .stream (self .binsha )
53
- lines = ostream .read ().decode (defenc ).splitlines ()
53
+ lines = ostream .read ().decode (defenc , 'replace' ).splitlines ()
54
54
55
55
_obj , hexsha = lines [0 ].split (" " )
56
56
_type_token , type_name = lines [1 ].split (" " )
You can’t perform that action at this time.
0 commit comments