mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Update code.gitea.io/git (#1824)
* Update code.gitea.io/git * Update function calls * govendor fetch
This commit is contained in:
		@@ -907,7 +907,10 @@ func (pr *PullRequest) PushToBaseRepo() (err error) {
 | 
			
		||||
 | 
			
		||||
	_ = os.Remove(file)
 | 
			
		||||
 | 
			
		||||
	if err = git.Push(headRepoPath, tmpRemoteName, fmt.Sprintf("%s:%s", pr.HeadBranch, headFile)); err != nil {
 | 
			
		||||
	if err = git.Push(headRepoPath, git.PushOptions{
 | 
			
		||||
		Remote: tmpRemoteName,
 | 
			
		||||
		Branch: fmt.Sprintf("%s:%s", pr.HeadBranch, headFile),
 | 
			
		||||
	}); err != nil {
 | 
			
		||||
		return fmt.Errorf("Push: %v", err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user