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] cmd = ['show', ref]
try: try:
self.run_git(cmd) self.run_git(cmd, str_errors='replace')
return True return True
except SubprocessError: except SubprocessError:
return False return False