improvements

This commit is contained in:
Lunny Xiao 2025-07-25 11:27:38 -07:00
parent 7a8fdc2963
commit 869f3aedd3
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -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")