mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	add more debug info
This commit is contained in:
		@@ -195,7 +195,7 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository) (err error
 | 
			
		||||
	if _, stderr, err = process.ExecDir(-1, tmpBasePath,
 | 
			
		||||
		fmt.Sprintf("PullRequest.Merge (git merge --no-commit): %s", tmpBasePath),
 | 
			
		||||
		"git", "merge", "--no-ff", "--no-commit", "head_repo/"+pr.HeadBranch); err != nil {
 | 
			
		||||
		return fmt.Errorf("git merge --no-ff --no-commit [%s]: %s", tmpBasePath, stderr)
 | 
			
		||||
		return fmt.Errorf("git merge --no-ff --no-commit [%s]: %v - %s", tmpBasePath, err, stderr)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	sig := doer.NewGitSig()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user