Commit f5f2527
Cover submodule working trees in safe.directory on Cygwin
Add the gitdb and smmap submodule working tree paths to the
safe.directory config in the Cygwin CI workflow. Without this, when
GitPython opens a submodule as a Repo and runs "git cat-file
--batch-check" against it, git rejects the repository for dubious
ownership. The user-visible failure modes documented in the previous
commit (ValueError, IndexError, AssertionError) all trace back to
this rejection.
The reproduce-safe-dir matrix on the previous commit produces failures
for all three affected tests; this commit's CI run is expected to
show those tests passing instead.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a01707f commit f5f2527
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
0 commit comments