forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Trace2 machinery wishes to parse the system and the global config early. To this end, it taps into the `common-main` framework to run first thing. There are more Git features that could benefit from such a handling, most notably the Windows-specific `core.longPaths` setting: If a user has worktrees whose path already requires long paths support, we cannot wait until we parse the the config settings in the usual way because the gitdir discovery needs to happen first and would fail because any `core.longPaths` setting in, say, `~/.gitconfig` would not have been parsed yet. To that end, let's refactor Trace2's early config parsing so that other users can tap into it, too. Signed-off-by: Kevin Worm <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information
1 parent
590ade5
commit 3b059de
Showing
4 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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