aboutsummaryrefslogtreecommitdiff
path: root/Command/Sync.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Sync.hs')
-rw-r--r--Command/Sync.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Sync.hs b/Command/Sync.hs
index ca823c736..d8c6fb8d4 100644
--- a/Command/Sync.hs
+++ b/Command/Sync.hs
@@ -29,6 +29,7 @@ import qualified Remote.Git
import Types.Key
import Config
import Annex.ReplaceFile
+import Git.FileMode
import Data.Hash.MD5
@@ -321,7 +322,7 @@ resolveMerge' u
case msha of
Nothing -> a Nothing
Just sha -> do
- key <- catKey sha
+ key <- catKey sha symLinkMode
maybe (return False) (a . Just) key
{- The filename to use when resolving a conflicted merge of a file,