Enforce git config on startup (#383)

This commit is contained in:
Thomas Miceli
2024-11-21 11:23:57 +01:00
committed by GitHub
parent 00e3d09cc5
commit 5994cd6ccd
3 changed files with 28 additions and 3 deletions

View File

@ -92,6 +92,10 @@ func Initialize(ctx *cli.Context) {
"Current git version: " + gitVersion)
}
if err := git.InitGitConfig(); err != nil {
log.Fatal().Err(err).Send()
}
homePath := config.GetHomeDir()
log.Info().Msg("Data directory: " + homePath)