diff options
Diffstat (limited to 'Annex/Link.hs')
-rw-r--r-- | Annex/Link.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Link.hs b/Annex/Link.hs index bb2354c49..becd7e7ec 100644 --- a/Annex/Link.hs +++ b/Annex/Link.hs @@ -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 |