check inode cache in prepSendAnnex

This does mean one query of the database every time an object is sent.
May impact performance.
This commit is contained in:
Joey Hess 2015-12-10 14:29:34 -04:00
parent 3b2a7f216d
commit 2b8f6b8b2f
Failed to extract signature
3 changed files with 21 additions and 9 deletions

View file

@ -672,7 +672,7 @@ wantHardLink :: Annex Bool
wantHardLink = (annexHardLink <$> Annex.getGitConfig) <&&> (not <$> isDirect)
-- Copies from src to dest, updating a meter. If the copy finishes
-- successfully, calls a final check action, which must also success, or
-- successfully, calls a final check action, which must also succeed, or
-- returns false.
--
-- If either the remote or local repository wants to use hard links,