mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	rename fields
This commit is contained in:
		@@ -258,7 +258,7 @@ func GetDiffRange(repoPath, beforeCommitId string, afterCommitId string, maxline
 | 
			
		||||
			cmd = exec.Command("git", "show", afterCommitId)
 | 
			
		||||
		} else {
 | 
			
		||||
			c, _ := commit.Parent(0)
 | 
			
		||||
			cmd = exec.Command("git", "diff", "-M", c.Id.String(), afterCommitId)
 | 
			
		||||
			cmd = exec.Command("git", "diff", "-M", c.ID.String(), afterCommitId)
 | 
			
		||||
		}
 | 
			
		||||
	} else {
 | 
			
		||||
		cmd = exec.Command("git", "diff", "-M", beforeCommitId, afterCommitId)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user