Fix bug when reading linux defaults by mjcheetham · Pull Request #2259 · git-ecosystem/git-credential-manager (original) (raw)

@mjcheetham

If there is no GCM configuration defaults directory on Linux, we had been inadvertently returning null for the setting value!

Fix the issue by explictly returning false (no setting found) to TryGetExternalDefault rather than true (setting found).

Signed-off-by: Matthew John Cheetham mjcheetham@outlook.com

mjcheetham added a commit that referenced this pull request

Feb 4, 2026

@mjcheetham

orbitalvoodoo

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

[ Show hidden characters]({{ revealButtonHref }})