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 6aae0d9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(gix): preserve bytes in native submodule configuration values
The dedicated Gix submodule parser returns path, URL and branch values as
bytes. Strict decoding forced valid non-UTF-8 values into the CLI fallback.
Decode those values with the shared lossless helper while preserving existing
checks for duplicate sections, implicit values and raw branch spelling.
Record the remaining native API gap: non-UTF-8 subsection names require CLI
because generic config keys require text, and the byte-capable branch getter
interprets empty/implicit values instead of exposing their raw spelling.
No Python configuration semantics or fabricated native success are introduced.
The native regression fails before the fix and passes with Git.execute blocked.
Scripted tests also verify byte subsection names through fallback and cached
field reads against Git 2.54.0. Connected tests pass: nine Gix cases, two CLI
cases and seven native-only skips. Ruff, mypy and whitespace checks pass.
0 commit comments