summaryrefslogtreecommitdiff
path: root/Backend.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend.hs')
-rw-r--r--Backend.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Backend.hs b/Backend.hs
index bdceea2f5..74f71f8be 100644
--- a/Backend.hs
+++ b/Backend.hs
@@ -137,7 +137,8 @@ lookupFile file = do
makekey bs l = do
case maybeLookupBackendName bs bname of
Nothing -> do
- unless (null kname || null bname) $
+ unless (null kname || null bname ||
+ not (isLinkToAnnex l)) $
warning skip
return Nothing
Just backend -> return $ Just (k, backend)