assistant: Fix syncing local drives.
Amoung other things, this makes it immediately sync files from a removable drive when it's added.
This commit is contained in:
parent
60fba9097a
commit
7fe1baf3f1
2 changed files with 16 additions and 12 deletions
|
@ -44,8 +44,11 @@ reconnectRemotes notifypushes rs = void $ do
|
|||
addScanRemotes diverged rs
|
||||
return ok
|
||||
where
|
||||
(gitremotes, _specialremotes) =
|
||||
partition (Git.repoIsUrl . Remote.repo) rs
|
||||
gitremotes = filter (notspecialremote . Remote.repo) rs
|
||||
notspecialremote r
|
||||
| Git.repoIsUrl r = True
|
||||
| Git.repoIsLocal r = True
|
||||
| otherwise = False
|
||||
sync (Just branch) = do
|
||||
diverged <- snd <$> manualPull (Just branch) gitremotes
|
||||
now <- liftIO getCurrentTime
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -34,6 +34,7 @@ git-annex (3.20121018) UNRELEASED; urgency=low
|
|||
* The standalone tarball's runshell now takes care of installing a
|
||||
~/.ssh/git-annex-shell wrapper the first time it's run.
|
||||
* webapp: Make an initial, empty commit so there is a master branch
|
||||
* assistant: Fix syncing local drives.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 17 Oct 2012 14:24:10 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue