mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-09 01:18:04 +02:00
Enforce git config on startup (#383)
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user