Skip to content
Snippets Groups Projects

Silence git init for Git >=2.30

Merged Marco Cattaneo requested to merge cherry-pick-26107faf-6 into reco14-patches
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -69,7 +69,7 @@ if exists(path):
src_data = join(dirname(__file__), 'data', 'test_repo')
copytree(src_data, path)
check_call(['git', 'init', path])
check_call(['git', 'init', '--quiet', path])
check_call(['git', 'config', '-f', '.git/config', 'user.name', 'Test User'], cwd=path)
check_call(['git', 'config', '-f', '.git/config', 'user.email', 'test.user@no.where'],
cwd=path)
Loading