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

This commit is contained in:
Joey Hess 2024-05-02 11:11:19 -04:00
commit 883328b615
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 37 additions and 2 deletions

View file

@ -0,0 +1,35 @@
### Please describe the problem.
Executing git annex copy sometimes does not copy the necessary files.
### What steps will reproduce the problem?
I do not know how to reproduce it, because it sometimes happens and sometimes not. This is the code I used:
```
$ git annex findkeys --not --in origin-storage
MD5E-s7265--9885654f68b8e72de9b681c8783b3bf8.yaml
$ git annex copy --not --in origin-storage --to origin-storage
### Note that there is no output
$ git annex findkeys --not --in origin-storage
MD5E-s7265--9885654f68b8e72de9b681c8783b3bf8.yaml
## Still there!
11:00 $ git annex findkeys --not --in origin-storage | git annex copy --batch-keys --to origin-storage
copy MD5E-s7265--9885654f68b8e72de9b681c8783b3bf8.yaml (to origin-storage...)
ok
$ git annex findkeys --not --in origin-storage
## Now the problem is resolved
```
My expectations are that the second and the fourth command do the same thing, but they don't.
### What version of git-annex are you using? On what operating system?
Rocky OS 9
git-annex version: 10.20230926-g44a7b4c9734adfda5912dd82c1aa97c615689f57

View file

@ -56,7 +56,7 @@ See [[git-annex-preferred-content]](1).
Only pull with the remotes with the lowest annex-cost value configured.
When a list of remotes (or remote groups) is provided, it picks from
amoung those, otherwise it picks from amoung all remotes.
among those, otherwise it picks from among all remotes.
* `--only-annex` `-a`, `--not-only-annex`
@ -70,7 +70,7 @@ See [[git-annex-preferred-content]](1).
When this is combined with --no-content, only the git-annex branch
will be pulled.
* `--no-content, `-g`, `--content`
* `--no-content`, `-g`, `--content`
Use `--no-content` or `-g` to avoid downloading (and dropping)
the content of annexed files, and also prevent doing any migrations of