def _strip_exc(exc):
    return re.sub(r'^Command [\'"].+[\'"] failed: ', '', exc.strerror)
Strip the actual command that was run from exc.strerror to leave just the
dataset/ETHPy150Open saltstack/salt/salt/states/git.py/_strip_exc