Skip to content

Commit 9f8843c

Browse files
committed
!squash more
1 parent db8dd61 commit 9f8843c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,10 @@ def git_remote_repo(
412412
create_git_remote_repo: CreateRepoPytestFixtureFn,
413413
) -> pathlib.Path:
414414
"""Copy the session-scoped Git repository to a temporary directory."""
415-
return create_git_remote_repo()
415+
# TODO: Cache the effect of of this in a session-based repo
416+
repo_path = create_git_remote_repo()
417+
git_remote_repo_single_commit_post_init(remote_repo_path=repo_path)
418+
return repo_path
416419

417420

418421
def _create_svn_remote_repo(

0 commit comments

Comments
 (0)