Skip to content

Commit 49378ac

Browse files
committed
Load settings on repo dump
Allows SKIP_TLS_VERIFY setting during migrations
1 parent 956db63 commit 49378ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/dump_repo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func runDumpRepository(ctx *cli.Context) error {
9191
if err := git.InitSimple(context.Background()); err != nil {
9292
return err
9393
}
94+
setting.LoadSettings() // cannot access session settings otherwise
9495

9596
log.Info("AppPath: %s", setting.AppPath)
9697
log.Info("AppWorkPath: %s", setting.AppWorkPath)

0 commit comments

Comments
 (0)