diff options
Diffstat (limited to 'services/agit')
-rw-r--r-- | services/agit/agit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/agit/agit.go b/services/agit/agit.go index 3fca844f91..f32ad371d5 100644 --- a/services/agit/agit.go +++ b/services/agit/agit.go @@ -213,7 +213,7 @@ func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []privat return nil } else if len(output) > 0 { results = append(results, private.HookProcReceiveRefResult{ - OriginalRef: oldCommitID, + OriginalRef: opts.RefFullNames[i], OldOID: opts.OldCommitIDs[i], NewOID: opts.NewCommitIDs[i], Err: "request `force-push` push option", |