(tmp_path: Path)
| 13 | |
| 14 | @pytest.fixture() |
| 15 | def git_repo(tmp_path: Path) -> Path: |
| 16 | _run(["git", "init"], tmp_path) |
| 17 | _run(["git", "config", "user.email", "test@example.com"], tmp_path) |
| 18 | _run(["git", "config", "user.name", "Test User"], tmp_path) |
| 19 | return tmp_path |
| 20 | |
| 21 | |
| 22 | def _commit_all(repo: Path) -> None: |