This commit is contained in:
Joey Hess 2015-12-29 17:02:14 -04:00
parent 996ae9b172
commit 10ecc43790
Failed to extract signature

View file

@ -167,10 +167,10 @@ resolveMerge' unstagedmap (Just us) them u = do
makesymlink key dest = do
l <- calcRepo $ gitAnnexLink dest key
replacewithlink dest l
replacewithsymlink dest l
stageSymlink dest =<< hashSymlink l
replacewithlink dest link = ifM isDirect
replacewithsymlink dest link = ifM isDirect
( do
d <- fromRepo gitAnnexMergeDir
replaceFile (d </> dest) $ makeGitLink link
@ -211,7 +211,7 @@ resolveMerge' unstagedmap (Just us) them u = do
Nothing -> noop
Just sha -> do
link <- catSymLinkTarget sha
replacewithlink item link
replacewithsymlink item link
resolveby ks a = do
{- Remove conflicted file from index so merge can be resolved. -}