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 c327590
Browse filesBrowse the repository at this point in the historyBrowse files
fix(submodule): honor branch overrides in superproject config
When `.gitmodules` sets `branch = .`, Git takes an explicit
`submodule.<name>.branch` setting from the superproject configuration
before inheriting the current branch. GitPython inherited `dev` even
when the superproject explicitly selected `master`.
Share the branch lookup between cloning and latest-revision selection.
Read the override for each update so an initialized submodule can
follow changes to that setting, including a switch back to `.`. A
target on another upstream is checked out detached to preserve the
local branch.
Use the existing Gix scalar config adapter for text keys. Fall back
to Git for non-UTF-8 keys, which GixPython 0.3.0 cannot accept, and
record the limitation in `doc/gix-backend.md`.
The override regression failed on both backends before the fix. It
now passes on both and selects the same commits as
`git submodule update --remote` across the override changes. The
byte-key config regression also passes on both backends.
Agent-Model: gpt-6.2-sol
Agent-Reasoning-Effort: high
0 commit comments