Skip to content

Enrich incremental blame output #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 19, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge remote-tracking branch 'upstream/master' into enrich-incrementa…
…l-blame-output
  • Loading branch information
nvie committed Apr 19, 2016
commit 8da7852780a62d52c3d5012b89a4b15ecf989881
5 changes: 1 addition & 4 deletions git/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ def safe_decode(s):
if isinstance(s, unicode):
return s
elif isinstance(s, bytes):
if PRE_PY27:
return s.decode(defenc) # we're screwed
else:
return s.decode(defenc, errors='replace')
return s.decode(defenc, errors='replace')
raise TypeError('Expected bytes or text, but got %r' % (s,))


Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.