Skip to content

Commit

Permalink
Fix don't save server file when gen conflict file (#636)
Browse files Browse the repository at this point in the history
Co-authored-by: 杨赫然 <[email protected]>
  • Loading branch information
feiniks and 杨赫然 authored Nov 2, 2023
1 parent 6063e09 commit f659a91
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 f659a91

Please sign in to comment.