comment
This commit is contained in:
parent
97d670b0d5
commit
93c430c2a4
1 changed files with 6 additions and 1 deletions
|
@ -153,7 +153,12 @@ mergeDirectCleanup d oldsha newsha = do
|
|||
nukeFile f
|
||||
void $ catchMaybeIO $ removeDirectory $ parentDir f
|
||||
|
||||
{- Key symlinks are replaced with their content, if it's available. -}
|
||||
{- The symlink is created from the key, rather than moving in the
|
||||
- symlink created in the temp directory by the merge. This because
|
||||
- a conflicted merge will write to some other file in the temp
|
||||
- directory.
|
||||
-
|
||||
- Symlinks are replaced with their content, if it's available. -}
|
||||
movein k f = do
|
||||
l <- calcGitLink f k
|
||||
liftIO $ replaceFile f $ const $
|
||||
|
|
Loading…
Reference in a new issue