Fix ansible-test handling of git output.

This commit is contained in:
Matt Clay 2017-07-27 18:26:23 -07:00
parent 51bd07204b
commit 87d434ed68

View file

@ -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