avoid warning when symlink in the repo contains a colon but is not a

pointer to annexed content
This commit is contained in:
Joey Hess 2011-01-27 16:10:45 -04:00
parent 56a8a21171
commit 9640417067
2 changed files with 8 additions and 1 deletions

View file

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