rename
This commit is contained in:
parent
996ae9b172
commit
10ecc43790
1 changed files with 3 additions and 3 deletions
|
@ -167,10 +167,10 @@ resolveMerge' unstagedmap (Just us) them u = do
|
||||||
|
|
||||||
makesymlink key dest = do
|
makesymlink key dest = do
|
||||||
l <- calcRepo $ gitAnnexLink dest key
|
l <- calcRepo $ gitAnnexLink dest key
|
||||||
replacewithlink dest l
|
replacewithsymlink dest l
|
||||||
stageSymlink dest =<< hashSymlink l
|
stageSymlink dest =<< hashSymlink l
|
||||||
|
|
||||||
replacewithlink dest link = ifM isDirect
|
replacewithsymlink dest link = ifM isDirect
|
||||||
( do
|
( do
|
||||||
d <- fromRepo gitAnnexMergeDir
|
d <- fromRepo gitAnnexMergeDir
|
||||||
replaceFile (d </> dest) $ makeGitLink link
|
replaceFile (d </> dest) $ makeGitLink link
|
||||||
|
@ -211,7 +211,7 @@ resolveMerge' unstagedmap (Just us) them u = do
|
||||||
Nothing -> noop
|
Nothing -> noop
|
||||||
Just sha -> do
|
Just sha -> do
|
||||||
link <- catSymLinkTarget sha
|
link <- catSymLinkTarget sha
|
||||||
replacewithlink item link
|
replacewithsymlink item link
|
||||||
|
|
||||||
resolveby ks a = do
|
resolveby ks a = do
|
||||||
{- Remove conflicted file from index so merge can be resolved. -}
|
{- Remove conflicted file from index so merge can be resolved. -}
|
||||||
|
|
Loading…
Add table
Reference in a new issue