mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	rename fields
This commit is contained in:
		@@ -28,7 +28,7 @@ func (c *Commit) CreateArchive(path string, archiveType ArchiveType) error {
 | 
			
		||||
		return fmt.Errorf("unknown format: %v", archiveType)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	_, stderr, err := com.ExecCmdDir(c.repo.Path, "git", "archive", "--format="+format, "-o", path, c.Id.String())
 | 
			
		||||
	_, stderr, err := com.ExecCmdDir(c.repo.Path, "git", "archive", "--format="+format, "-o", path, c.ID.String())
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return fmt.Errorf("%s", stderr)
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user