mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix spelling mistake in ProcReceive (#19853)
There was a spelling mistake in the ProcReceive handler. This PR fixes this.
This commit is contained in:
		@@ -23,7 +23,7 @@ func HookProcReceive(ctx *gitea_context.PrivateContext) {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	results := agit.ProcRecive(ctx, opts)
 | 
			
		||||
	results := agit.ProcReceive(ctx, opts)
 | 
			
		||||
	if ctx.Written() {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -20,8 +20,8 @@ import (
 | 
			
		||||
	pull_service "code.gitea.io/gitea/services/pull"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// ProcRecive handle proc receive work
 | 
			
		||||
func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
 | 
			
		||||
// ProcReceive handle proc receive work
 | 
			
		||||
func ProcReceive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
 | 
			
		||||
	// TODO: Add more options?
 | 
			
		||||
	var (
 | 
			
		||||
		topicBranch string
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user