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
{{ message }}
Repository navigation
Commit 1d7aee9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(repo): accept the explicit literal-path constructor option
sbxloop 2.1.36 explicitly opens its metadata repositories with
`Repo(..., expand_vars=False)` to keep repository paths literal. Removing the
constructor option during the storage migration breaks 91 unchanged upstream
cases before their Git queries run. Released GitPython 3.2.1 accepts the option.
Restore the `False` constructor argument, including its fourth positional
location, while retaining the branch's default literal environment-variable
behavior. Reject `True` with a clear `ValueError` directing callers to expand
inputs themselves. Initial tilde expansion and Git/Gix discovery remain as
before; this input compatibility does not restore automatic environment
expansion or introduce Python Git behavior. Document the limited restored
contract and the remaining breaking path/API behavior.
Add a fixture containing both a literal `$DOWNSTREAM_REPOSITORY` repository
and an expansion target. Four SHA-1/SHA-256 and files/reftable regressions fail
before the correction and verify literal contents, keyword/positional use,
the unchanged default, and rejected expansion afterwards. Repository, CLI
safety and downstream suites pass 189 tests, two skips and 14 subtests on each
backend. Ruff lint/format, ShellCheck for the fixture, mypy for
`git/repo/base.py` and `git diff --check` pass with Python 3.12.15,
Git 2.53.0 and GixPython 0.2.0.
0 commit comments