git-annex/Annex
Joey Hess 5c3e14649e avoid unnecessary transfer scans when syncing a disconnected remote
Found a very cheap way to determine when a disconnected remote has
diverged, and has new content that needs to be transferred: Piggyback on
the git-annex branch update, which already checks for divergence.

However, this does not check if new content has appeared locally while
disconnected, that should be transferred to the remote.

Also, this does not handle cases where the two git repos are in sync,
but their content syncing has not caught up yet.

This code could have its efficiency improved:

* When multiple remotes are synced, if any one has diverged, they're
  all queued for transfer scans.
* The transfer scanner could be told whether the remote has new content,
  the local repo has new content, or both, and could optimise its scan
  accordingly.
2012-08-22 15:05:57 -04:00
..
Branch.hs avoid unnecessary transfer scans when syncing a disconnected remote 2012-08-22 15:05:57 -04:00
BranchState.hs tweak 2012-01-14 14:31:16 -04:00
CatFile.hs avoid ByteString.Char8 where not needed 2012-06-20 13:13:40 -04:00
CheckAttr.hs rework git check-attr interface 2012-02-13 23:52:21 -04:00
Content.hs fishy commit 2012-06-14 00:01:48 -04:00
Exception.hs adjust to build with monad-control-0.3 2011-12-05 22:51:37 -04:00
Journal.hs honor core.sharedRepository when making all the other files in the annex 2012-04-21 19:36:03 -04:00
LockPool.hs noop 2012-04-21 23:32:33 -04:00
Perms.hs noop 2012-04-21 23:32:33 -04:00
Queue.hs fishy commit 2012-06-14 00:01:48 -04:00
Ssh.hs Clean up handling of git directory and git worktree. 2012-05-18 17:03:12 -04:00
UUID.hs better readProcess 2012-07-19 00:57:40 -04:00
Version.hs Fix use of several config settings 2012-05-05 20:16:56 -04:00