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
Add jobs to reproduce Cygwin safe.directory submodule issue
Remove the Cygwin xfail decorations from test_submodules in
test_docs.py and test_repo.py, and from test_root_module in
test_submodule.py, so the tests surface the underlying failure
directly.
Add 30 reproduce-safe-dir matrix jobs to cygwin-test.yml. Each runs
the three submodule tests under the current safe.directory
configuration, which covers the main repo but not submodule working
trees.
Expected result: all jobs fail. Most should fail with ValueError (git
cat-file exits due to dubious ownership, Python reads empty stdout).
A few may fail with IndexError (git cat-file exits before Python
writes to stdin, raising BrokenPipeError, which is IOError, which
iter_items catches — producing an empty submodule list).
The existing test job's env, defaults, and setup steps gain YAML
anchors so the new job can reference them without duplication.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments