sync: Support --jobs
* sync: Support --jobs * sync --content: Avoid unnecessary second pull from remotes when no file transfers are made.
This commit is contained in:
parent
4a5fe93248
commit
87b4229b23
4 changed files with 51 additions and 15 deletions
|
@ -1 +1,14 @@
|
|||
As the subject says. I mostly use `git annex sync --content` to transfer files between repositories, as its easier than running `git annex sync`, a bunch of `git annex copy`s and then a `git annex get` to make sure I have all the files I should have. It would be good if the shortcut could also work in parallel.
|
||||
As the subject says. I mostly use `git annex sync --content` to transfer
|
||||
files between repositories, as its easier than running `git annex sync`, a
|
||||
bunch of `git annex copy`s and then a `git annex get` to make sure I have
|
||||
all the files I should have. It would be good if the shortcut could also
|
||||
work in parallel.
|
||||
|
||||
> It also can be faster to push concurrent. OTOH, concurrent pulls
|
||||
> can lead to the same git objects being downloaded redundantly, so best to
|
||||
> avoid those I think.
|
||||
>
|
||||
> I've implemented this. It suffers from the same
|
||||
> lack of support for displaying progress when running it parallel as
|
||||
> documented on [[parallel_get]]. Other than that wart, this is [[done]].
|
||||
> --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue