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

@ -328,8 +328,6 @@ files to be unlocked, while the indirect upgrades don't touch the files.
* inAnnex check should fail in the case where an annexed object is unlocked
and has had its content changed. Could use an InodeCache for
such objects. This parallels how inAnnex checks work for direct mode.
* Also, Annex.Content.prepSendAnnex should check the InodeCache for
changes.
* Reconcile staged changes into the associated files database, whenever
the database is queried.
* See if the cases where the associated files database is not used can be