@@ -411,7 +411,7 @@ public IEnumerable<string> GetSettingValues(string envarName, string section, st
411
411
// Look for a scoped entry that includes the scheme "protocol://example.com" first as
412
412
// this is more specific. If `isPath` is true, then re-get the value from the
413
413
// `GitConfiguration` with `isPath` specified.
414
- if ( ( isPath && config . TryGet ( queryName , isPath , out value ) ) ||
414
+ if ( ( isPath && config . TryGet ( queryName , true , out value ) ) ||
415
415
_configEntries . TryGetValue ( queryName , out value ) )
416
416
{
417
417
yield return value ;
@@ -422,7 +422,7 @@ public IEnumerable<string> GetSettingValues(string envarName, string section, st
422
422
// `isPath` specified.
423
423
string scopeWithoutScheme = scope . TrimUntilIndexOf ( Uri . SchemeDelimiter ) ;
424
424
string queryWithSchemeName = $ "{ section } .{ scopeWithoutScheme } .{ property } ";
425
- if ( ( isPath && config . TryGet ( queryWithSchemeName , isPath , out value ) ) ||
425
+ if ( ( isPath && config . TryGet ( queryWithSchemeName , true , out value ) ) ||
426
426
_configEntries . TryGetValue ( queryWithSchemeName , out value ) )
427
427
{
428
428
yield return value ;
@@ -444,7 +444,7 @@ public IEnumerable<string> GetSettingValues(string envarName, string section, st
444
444
*
445
445
*/
446
446
string name = $ "{ section } .{ property } ";
447
- if ( ( isPath && config . TryGet ( name , isPath , out value ) ) ||
447
+ if ( ( isPath && config . TryGet ( name , true , out value ) ) ||
448
448
_configEntries . TryGetValue ( name , out value ) )
449
449
{
450
450
yield return value ;
0 commit comments