mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-13 15:39:50 +00:00
improvements
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user