summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-09 16:26:55 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-09 16:26:55 -0400
commitcbd732008b387f205df8c84590fdcdcb5a39ed3a (patch)
treed8c8d0e8b36f4f6342b5cf81d82cc52ee3bca3d6
parente82eb195e48c095a064d2e59b5b0cee69328230a (diff)
update
-rw-r--r--doc/design/adjusted_branches.mdwn7
-rw-r--r--doc/todo/deferred_update_mode.mdwn10
2 files changed, 13 insertions, 4 deletions
diff --git a/doc/design/adjusted_branches.mdwn b/doc/design/adjusted_branches.mdwn
index 93979ca61..5c70e4ea9 100644
--- a/doc/design/adjusted_branches.mdwn
+++ b/doc/design/adjusted_branches.mdwn
@@ -161,6 +161,13 @@ If the user refers to commit shas (in, eg commit messages), those won't be
visible to anyone else.
[WORKTREE: not a problem]
+When a pull modifies a file, its content won't be available, and so it
+would be hidden temporarily by filter #2. So the file would seem to vanish,
+and come back later, which could be confusing. Could be fixed as discussed
+in [[todo/deferred_update_mode]]. Arguably, it's just as confusing for the
+file to remain visible but have its content temporarily replaced with a
+annex pointer.
+
## integration with view branches
Entering a view from an adjusted branch should probably carry the filtering
diff --git a/doc/todo/deferred_update_mode.mdwn b/doc/todo/deferred_update_mode.mdwn
index 46e197f01..d7eec4ad7 100644
--- a/doc/todo/deferred_update_mode.mdwn
+++ b/doc/todo/deferred_update_mode.mdwn
@@ -27,7 +27,9 @@ annex.merge=trydownloadfirst and annex.merge=reqdownloadfirst
Let `git annex merge` be used to force a merge, even when content is not
available.
-> I think this is the wrong solution, and [[hide_missing_files]] is a
-> better approach to the same problem. See [[design/adjusted_branches]].
->
-> Closing as dup. [[done]] --[[Joey]]
+## alternatively
+
+What about just making `git-annex sync --content` try to get the content of
+all files before updating the work tree? (The assistant would need changes
+too; it would need to queue all the downloads and trigger a work tree
+update once all the downloads have been tried.)