Skip to content

Commit

Permalink
Fix don't save server file when gen conflict file
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赫然 committed Nov 2, 2023
1 parent cc42c87 commit 2aaa1e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fileserver/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func mergeEntries(storeID string, dents []*fsmgr.SeafDirent, baseDir string, opt
return nil, err
}
dents[2].Name = conflictName
mergedDents = append(mergedDents, head)
mergedDents = append(mergedDents, remote)
opt.conflict = true
}
Expand Down

0 comments on commit 2aaa1e3

Please sign in to comment.