Skip to content

Commit 3cc2fa6

Browse files
committed
and three-way failed
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 842feda commit 3cc2fa6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/pull/patch.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ func checkConflicts(pr *models.PullRequest, gitRepo *git.Repository, tmpBasePath
399399
conflict = true
400400
filepath := strings.TrimSpace(strings.Split(line[len(prefix):], ":")[0])
401401
conflictMap[filepath] = true
402+
} else if is3way && line == threewayFailed {
403+
conflict = true
402404
} else if strings.HasPrefix(line, errorPrefix) {
403405
conflict = true
404406
for _, suffix := range patchErrorSuffices {

0 commit comments

Comments
 (0)