dolthub / dolt

Dolt – Git for Data
Apache License 2.0
17.41k stars 488 forks source link

Changing the default branch name should be reflected in the provider/config #8039

Open max-hoffman opened 3 weeks ago

max-hoffman commented 3 weeks ago

Renaming the default branch (call dolt_branch('-m', 'main', 'master');) does not set the config init.defaultbranch branch param, making DoltDatabaseProvider.defaultBranch invalid for (1) the current session, (2) the engine + all subsequent sessions, (3) new engines restarted with the same config.