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
test: distinguish real git binary from pythongit shim in interop tests
CI installs the package, which adds a 'git' console script that shadows
the real git on PATH. Interop tests doing subprocess.run(['git', ...])
were therefore invoking pythongit-against-itself, not pythongit-against-
real-git.
Fix: tests now call conftest.real_git() which walks PATH and known
absolute paths, identifying real git by its '--version' output starting
with 'git version ' (pythongit's prints 'pygit version '). Skips
interop assertions when no real git is found.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments