not a bug

This commit is contained in:
Joey Hess 2024-01-18 12:11:10 -04:00
parent ccc64bc8ff
commit 05026e2053
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 22 additions and 1 deletions

View file

@ -45,4 +45,4 @@ $ uname -r
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
git annex does everything I was looking for when I found it and then some. Thank you for creating and maintaining it!
> not a bug, version too old [[done]] --[[Joey]]

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2024-01-18T15:57:56Z"
content="""
Your git-annex version is from before --from-anywhere was implemented.
Also, `--from-anywhere` needs `--to=remote`, as documented on the man page.
"here" is not a remote name, so `--from-anywhere --to=here` will not work.
git-annex copy --from-anywhere --to=here
git-annex: there is no available git remote named "here"
A simpler way to do what you were trying to do, that does work is
`git-annex copy --to=here`
An even simpler way to do exactly the same thing is `git-annex get`
So, I don't see any point in trying to support `--from-anywhere --to=here`
with `git-annex copy`.
"""]]