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:
parent
3b2a7f216d
commit
2b8f6b8b2f
3 changed files with 21 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue