assistant: Make expensive transfer scan work fully in direct mode.
The expensive scan uses lookupFile, but in direct mode, that doesn't work for files that are present. So the scan was not finding things that are present that need to be uploaded. (It did find things not present that needed to be downloaded.) Now lookupFile also works in direct mode. Note that it still prefers symlinks on disk to info committed to git, in direct mode. This is necessary to make things like Assistant.Threads.Watcher.onAddSymlink work correctly, when given a new symlink not yet checked into git (or replacing a file checked into git).
This commit is contained in:
parent
15ecce2bfd
commit
1cdf2b923d
5 changed files with 38 additions and 11 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,7 +1,8 @@
|
|||
git-annex (3.20130103) UNRELEASED; urgency=low
|
||||
git-annex (3.20130105) UNRELEASED; urgency=low
|
||||
|
||||
* webapp: Add UI to stop and restart assistant.
|
||||
* committer: Fix a file handle leak.
|
||||
* assistant: Make expensive transfer scan work fully in direct mode.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 03 Jan 2013 14:58:45 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue