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 2d14bd3Copy full SHA for 2d14bd3
src/libvcs/pytest_plugin.py
@@ -412,7 +412,11 @@ 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()
+
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
420
421
422
def _create_svn_remote_repo(
0 commit comments