diff options
Diffstat (limited to 'services/pull/merge.go')
-rw-r--r-- | services/pull/merge.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/pull/merge.go b/services/pull/merge.go index e8bb3a1cdd..4cd4e3bd7e 100644 --- a/services/pull/merge.go +++ b/services/pull/merge.go @@ -358,7 +358,7 @@ func rawMerge(ctx context.Context, pr *issues_model.PullRequest, doer *user_mode committer := sig // Determine if we should sign - signArg := "" + var signArg string sign, keyID, signer, _ := asymkey_service.SignMerge(ctx, pr, doer, tmpBasePath, "HEAD", trackingBranch) if sign { signArg = "-S" + keyID @@ -858,7 +858,7 @@ func MergedManually(pr *issues_model.PullRequest, doer *user_model.User, baseGit pr.Merger = doer pr.MergerID = doer.ID - merged := false + var merged bool if merged, err = pr.SetMerged(ctx); err != nil { return err } else if !merged { |