File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Bugfixes
1313
1414* Changed to use UTF-8 instead of default encoding when getting information about a symbolic reference
1515 (`#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 >`_)
1618
17193.0.8
1820=====
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def _set_cache_(self, attr):
5050 """Cache all our attributes at once"""
5151 if attr in TagObject .__slots__ :
5252 ostream = self .repo .odb .stream (self .binsha )
53- lines = ostream .read ().decode (defenc ).splitlines ()
53+ lines = ostream .read ().decode (defenc , 'replace' ).splitlines ()
5454
5555 _obj , hexsha = lines [0 ].split (" " )
5656 _type_token , type_name = lines [1 ].split (" " )
You can’t perform that action at this time.
0 commit comments