We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8dd61 commit 9f8843cCopy full SHA for 9f8843c
src/libvcs/pytest_plugin.py
@@ -412,7 +412,10 @@ def git_remote_repo(
412
create_git_remote_repo: CreateRepoPytestFixtureFn,
413
) -> pathlib.Path:
414
"""Copy the session-scoped Git repository to a temporary directory."""
415
- return create_git_remote_repo()
+ # 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
419
420
421
def _create_svn_remote_repo(
0 commit comments