make sync update adjusted branch to hide/unhide

This completes initial support for --hide-missing, although the
assistant still needs to be updated and it perhaps needs to be sped up,
and maybe there needs to be a way for git-annex get to operate on
missing files. Opened some more todos for those things.

This commit was sponsored by Henrik Riomar.
This commit is contained in:
Joey Hess 2018-10-20 14:12:04 -04:00
parent 5a39b5a012
commit 4a6ebb1034
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
8 changed files with 77 additions and 25 deletions

View file

@ -11,13 +11,4 @@ My implementation is not as fast as it could be; each update
is a linear scan of the whole original branch and rebuild of the adjusted
branch. But it all works so we'll defer speeding this up to later bug
reports about it being too slow. ;)
What still needs to be done:
* `git annex sync` needs to update the adjusted branch.
* The assistant also needs to scan the original branch when looking for
files to download.
* The assistant ought to update the adjusted branch at some point after
downloads, but it's not clear when. Perhaps this will need to be deferred
until it can be done more cheaply, so it can do it after every file.
"""]]