We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29054e9 commit 42ec61cCopy full SHA for 42ec61c
internal/config/config.go
@@ -300,7 +300,7 @@ func (c *Config) migrateOptions(migrations map[string]string) {
300
}
301
302
303
- if err := errors.Join(errors.Join(errs...)); err != nil {
+ if err := errors.Join(errs...); err != nil {
304
debug.Log("Errors encountered while migrating old options: {%v}", err)
305
306
pkg/gitconfig/configs_test.go
@@ -96,4 +96,5 @@ func TestConfigs(t *testing.T) {
96
require.Error(t, c.SetLocal("core.foo", "bar"))
97
require.NoError(t, c.SetGlobal("core.global", "foo"))
98
require.NoError(t, c.SetEnv("env.var", "var"))
99
+ require.False(t, c.IsSet("env.nonexistent"))
100
0 commit comments