diff options
Diffstat (limited to 'git/compat.py')
-rw-r--r-- | git/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/compat.py b/git/compat.py index 9c7a43dd..a2403d69 100644 --- a/git/compat.py +++ b/git/compat.py @@ -308,6 +308,6 @@ def register_surrogateescape(): try: - "hello".decode(defenc, "surrogateescape") + b"100644 \x9f\0aaa".decode(defenc, "surrogateescape") except: register_surrogateescape() |