git-remote-annex: Fix a reversion

Introduced in version 10.20241031 that broke cloning from a special remote

retrieveKeyFile changed to use createAnnexDirectory, which means that the
path passed to it needs to be under .git

git-remote-annex is probably the only thing in git-annex where that was not
the case. And there's no real reason it cannot be the case with it either.
Just use withOtherTmp.
This commit is contained in:
Joey Hess 2024-11-11 12:42:26 -04:00
parent d2f540b1d2
commit 700be6c38f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 27 additions and 7 deletions

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2024-11-11T16:39:48Z"
content="""
Fixed by changing it to download to a path under .git
Also, this directory special remote case makes a good test case so I will
add it to the test suite, which will be the first git-remote-annex in the
test suite.
"""]]