Repository navigation
docs: document master configuration migration from v5 - #5204
Merged
arturcic merged 1 commit intoSep 11, 2026
Merged
Conversation
arturcic
force-pushed
the
codex/5074-master-config-migration
branch
from
September 11, 2026 13:56
6870750 to
2549464
Compare
|
Contributor
|
Thank you @arturcic for your contribution! |
This was referenced Nov 17, 2026
This was referenced Nov 23, 2026
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Configurations upgrading from v5 can fail with a missing
regexerror whenbranches.masterwas intended to override the built-in main branch settings. v5 mapped that key tomainfor compatibility; v6 removed the mapping.Document the migration under the historical v6.0.0 Configuration changes and in the configuration reference, with v5, v6 flat, and v7 nested examples. Explain that the actual Git branch can remain
master, update references such assource-brancheswhere applicable, and distinguish intentional custom configurations. Regenerate the reference from its source.Fixes #5074.
Validation:
master, using released v5.12.0/v6.0.0 and current code with both managed/libgit2 backends and v6/v7 configuration modes.git diff --checkpasses.final-definitionwarnings in the configuration source/generated files. No full website build or .NET unit-test suite was run.GitHub release notes are unchanged.