mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	#2790 fix not detect diff style in pull request file changes
This commit is contained in:
		@@ -372,6 +372,7 @@ func ViewPullFiles(ctx *context.Context) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	headTarget := path.Join(pull.HeadUserName, pull.HeadRepo.Name)
 | 
			
		||||
	ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split"
 | 
			
		||||
	ctx.Data["Username"] = pull.HeadUserName
 | 
			
		||||
	ctx.Data["Reponame"] = pull.HeadRepo.Name
 | 
			
		||||
	ctx.Data["IsImageFile"] = commit.IsImageFile
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user