summaryrefslogtreecommitdiff
path: root/Annex/Link.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2013-05-14 15:08:40 -0500
committerGravatar Joey Hess <id@joeyh.name>2013-05-14 15:08:40 -0500
commit82fa679e9fc498959c96972b0ddf741939e1f6d4 (patch)
tree45b578a71f1be468b112ff9e4a6e22e8963cba54 /Annex/Link.hs
parenta3fc31f1455d951a848985bc948f83bdeb314cc1 (diff)
convert from internal git path when checking symlink standin file
Diffstat (limited to 'Annex/Link.hs')
-rwxr-xr-x[-rw-r--r--]Annex/Link.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Link.hs b/Annex/Link.hs
index 1b4aacfac..b41e6d101 100644..100755
--- a/Annex/Link.hs
+++ b/Annex/Link.hs
@@ -45,7 +45,7 @@ getAnnexLinkTarget file =
v <- liftIO $ catchMaybeIO $ getlinktarget file
case v of
Just l
- | isLinkToAnnex l -> return v
+ | isLinkToAnnex (fromInternalGitPath l) -> return v
| otherwise -> return Nothing
Nothing -> fallback