You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest_plugin(fix[_create_git_remote_repo]): Use Git.init() for version compatibility
why: Fix compatibility with Git 2.43.0+ which has stricter init behavior
what:
- Replace raw run() command with Git.init() method
- Add initial_branch parameter with env var and default fallback
- Try --initial-branch flag first, fall back for older Git versions
- Add DEFAULT_GIT_INITIAL_BRANCH constant configurable via env var
This ensures Git repository creation works across all Git versions by
leveraging libvcs's own Git command abstraction layer.
0 commit comments