convert from internal git path when checking symlink standin file

This commit is contained in:
Joey Hess 2013-05-14 15:08:40 -05:00
parent 15af92291f
commit 8a2ff023a3

2
Annex/Link.hs Normal file → Executable file
View file

@ -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