mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-29 15:28:38 +00:00
improvements
This commit is contained in:
parent
7a8fdc2963
commit
869f3aedd3
@ -93,8 +93,7 @@ func checkEnablePushOptions(ctx context.Context, logger log.Logger, autofix bool
|
||||
numRepos++
|
||||
|
||||
if autofix {
|
||||
err := gitrepo.GitConfigSet(ctx, repo, "receive.advertisePushOptions", "true")
|
||||
return err
|
||||
return gitrepo.GitConfigSet(ctx, repo, "receive.advertisePushOptions", "true")
|
||||
}
|
||||
|
||||
value, err := gitrepo.GitConfigGet(ctx, repo, "receive.advertisePushOptions")
|
||||
|
Loading…
Reference in New Issue
Block a user