We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd80f17 commit 2e9337bCopy full SHA for 2e9337b
git2dot.py
@@ -99,7 +99,7 @@
99
import sys
100
101
102
-VERSION = '0.8'
+VERSION = '0.8.1'
103
DEFAULT_GITCMD = 'git log --format="|Record:|%h|%p|%d|%ci%n%b"' # --gitcmd
104
DEFAULT_RANGE = '--all --topo-order' # --range
105
@@ -294,7 +294,11 @@ def runcmd_long(cmd, show_output=True):
294
# all done, wait for returncode to get populated
295
break
296
else:
297
- char = char.decode('utf-8')
+ try:
298
+ # There is probably a better way to do this.
299
+ char = char.decode('utf-8')
300
+ except UnicodeDecodeError:
301
+ continue
302
output += char
303
if show_output:
304
sys.stdout.write(char)
0 commit comments