add git version to error output

This commit is contained in:
Anthony Sottile 2022-01-16 07:20:12 -08:00
parent 12b482345b
commit c05f58b776
2 changed files with 6 additions and 0 deletions

View file

@ -122,6 +122,7 @@ def test_log_and_exit(cap_out, mock_store_dir):
r'\n'
r'```\n'
r'pre-commit version: \d+\.\d+\.\d+\n'
r'git --version: git version .+\n'
r'sys.version:\n'
r'( .*\n)*'
r'sys.executable: .*\n'