mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	fix wrong log when push to a new branch (#1220)
This commit is contained in:
		@@ -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
									
								
							
		Reference in New Issue
	
	Block a user