mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	fix wrong log when push to a new branch (#1220)
This commit is contained in:
		
					parent
					
						
							
								925b252927
							
						
					
				
			
			
				commit
				
					
						3cf0e513e6
					
				
			
		
					 2 changed files with 1 additions and 1 deletions
				
			
		|  | @ -360,7 +360,7 @@ func UpdateIssuesCommit(doer *User, repo *Repository, commits []*PushCommit) err | |||
| 
 | ||||
| 			issue, err := GetIssueByRef(ref) | ||||
| 			if err != nil { | ||||
| 				if IsErrIssueNotExist(err) { | ||||
| 				if IsErrIssueNotExist(err) || err == errMissingIssueNumber { | ||||
| 					continue | ||||
| 				} | ||||
| 				return err | ||||
|  |  | |||
							
								
								
									
										0
									
								
								modules/github/issues.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								modules/github/issues.go
									
										
									
									
									
										Normal file
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue