Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2018-03-21 15:00:04 -04:00
commit 5055db14b9
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="lykos@d125a37d89b1cfac20829f12911656c40cb70018"
nickname="lykos"
avatar="http://cdn.libravatar.org/avatar/085df7b04d3408ba23c19f9c49be9ea2"
subject="comment 1"
date="2018-03-21T12:17:45Z"
content="""
That's not a problem at all. The repositories are identified by their UUID, so there's no danger of annex counting too many copies. Local remotes have a lower cost, so git-annex should prefer them, but you're probably going to encounter connection errors when you're not inside the LAN, so have a look at the annex-ignore-command option (see [manpage](https://git-annex.branchable.com/git-annex)).
"""]]

View file

@ -0,0 +1 @@
I have a git annex repo I'm using to sync to a couple of computers, plus backup to Glacier. git annex sync --content normally works fine, but recently I've added some large files with git annex that also have multiple versions, and I see that when I do git annex sync --content, only the current version of the file content gets transferred. I see that the --all option exists as well, which seems like it should do what I need, but when I run git annex sync --content --all it appears to start trying to sync _all_ content, even if it's already present on both machines. And if I try to use it on my glacier remote, it seems to be trying to pull from Glacier as well, which of course fails because you can't immediately access a Glacier file. Is there any combination of options that can do what I'm looking for here, to transfer all content but only a delta between what's present on the current machine and the remote?