mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Use limited commits (#9572)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							8941f7fc01
						
					
				
				
					commit
					7bdf17ec29
				
			@@ -410,7 +410,7 @@ func syncMirror(repoID string) {
 | 
			
		||||
 | 
			
		||||
		theCommits.CompareURL = m.Repo.ComposeCompareURL(oldCommitID, newCommitID)
 | 
			
		||||
 | 
			
		||||
		notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, models.ListToPushCommits(commits))
 | 
			
		||||
		notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, theCommits)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Get latest commit date and update to current repository updated time
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user