Fix ansible-test handling of git output.

pull/26880/head
Matt Clay 7 years ago
parent 51bd07204b
commit 87d434ed68

@ -71,7 +71,7 @@ class Git(object):
"""
cmd = ['show', ref]
try:
self.run_git(cmd)
self.run_git(cmd, str_errors='replace')
return True
except SubprocessError:
return False

Loading…
Cancel
Save