Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Nov 26, 2024
1 parent 01f7821 commit 789a4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func Initialize(ctx *cli.Context) {
log.Info().Msg("Data directory: " + homePath)

if err := git.InitGitConfig(); err != nil {
log.Warn().Msg("Git config modification failed, ensure " + homePath + " is added to git safe directories, and receive.advertisePushOptions is set to true.")
log.Warn().Err(err).Msgf("Failed to change the host's git global config, ensure to add to `safe.directory` the path %s, and `receive.advertisePushOptions` is set to true.", homePath)
}

if err := createSymlink(homePath, ctx.String("config")); err != nil {
Expand Down

0 comments on commit 789a4e8

Please sign in to comment.