Skip to content

Commit 2d14bd3

Browse files
committed
!squash more
1 parent db8dd61 commit 2d14bd3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,11 @@ 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+
416+
# TODO: Cache the effect of of this in a session-based repo
417+
repo_path = create_git_remote_repo()
418+
git_remote_repo_single_commit_post_init(remote_repo_path=repo_path)
419+
return repo_path
416420

417421

418422
def _create_svn_remote_repo(

0 commit comments

Comments
 (0)