Skip to content

Commit 4949cdf

Browse files
committed
fix(config): enable file include in scoped query
add command parameter to enforce file include in Git config query create consistent behavior for scoped and non-scoped invocations
1 parent c4be6b2 commit 4949cdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/Core/GitConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public void Enumerate(GitConfigurationLevel level, GitConfigurationEnumerationCa
463463

464464
// Fall back to original implementation
465465
string levelArg = GetLevelFilterArg(level);
466-
using (ChildProcess git = _git.CreateProcess($"config --null {levelArg} --list"))
466+
using (ChildProcess git = _git.CreateProcess($"config --null {levelArg} --list --includes"))
467467
{
468468
git.Start(Trace2ProcessClass.Git);
469469
// To avoid deadlocks, always read the output stream first and then wait

0 commit comments

Comments
 (0)