summaryrefslogtreecommitdiff
path: root/doc/todo/smudge.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-09 15:25:14 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-09 15:27:29 -0400
commit7f00b7eaf0877e791194e7dfed5abefbb091ee86 (patch)
tree5639b58b816f524973bc8dd5252abac7e666d15d /doc/todo/smudge.mdwn
parent61cab610d572cbfeb798f1ed09da4160b2cbba07 (diff)
link/copy pointer files to object content when it's added
Diffstat (limited to 'doc/todo/smudge.mdwn')
-rw-r--r--doc/todo/smudge.mdwn15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn
index 949de27da..373c65561 100644
--- a/doc/todo/smudge.mdwn
+++ b/doc/todo/smudge.mdwn
@@ -330,17 +330,14 @@ files to be unlocked, while the indirect upgrades don't touch the files.
such objects. This parallels how inAnnex checks work for direct mode.
* Reconcile staged changes into the associated files database, whenever
the database is queried.
-* See if the case where this is not used can be optimised. Eg, if the
- associated files database doesn't exist at all, we know smudge/clean are
- not used, so queries for associated files don't need to open the database
- or do reconciliation, but can simply return none.
+* See if the case where the associated files database is not used can be
+ optimised. Eg, if the associated files database doesn't exist at all,
+ we know smudge/clean are not used, so queries for associated files don't
+ need to open the database or do reconciliation, but can simply return none.
Also, no need for Backend.lookupFile to catKeyFile in this case
(when not in direct mode).
-* Update pointer files when adding the content of a key to the annex
- (ie, `git annex get`).
- - Check the associated files database to find associated files for the key.
- - Check worktree file to ensure it's still a pointer to the key.
- - Hard-link to annex object.
+ However, beware over-optimisation breaking the assistant or perhaps other
+ long-lived processes.
* Update pointer files when dropping the content of a key.
- Check the associated files database to find associated files for the key.
- Verify that worktree files are not modified from the annexed object.