Fix inverted logic in last release's fix for data loss bug, that caused git-annex sync on FAT or other crippled filesystems to add symlink standin files to the annex.
This commit is contained in:
parent
a8475e18c9
commit
7b0970b340
3 changed files with 7 additions and 2 deletions
|
@ -37,10 +37,10 @@ isAnnexLink file = maybe Nothing (fileKey . takeFileName) <$> getAnnexLinkTarget
|
|||
getAnnexLinkTarget :: FilePath -> Annex (Maybe LinkTarget)
|
||||
getAnnexLinkTarget file = ifM (coreSymlinks <$> Annex.getGitConfig)
|
||||
( check readSymbolicLink $
|
||||
return Nothing
|
||||
, check readSymbolicLink $
|
||||
check probefilecontent $
|
||||
return Nothing
|
||||
, check readSymbolicLink $
|
||||
return Nothing
|
||||
)
|
||||
where
|
||||
check getlinktarget fallback = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue