httpalso: Support being used with special remotes that do not have encryption= in their config.

This commit is contained in:
Joey Hess 2020-09-29 13:56:27 -04:00
parent 59263d2c6f
commit 084b502c7a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2020-09-29T17:52:03Z"
content="""
Made it check if the inherited config has encryption and skip setting it
up. So if there is a special remote that does not support encryption
config, it won't fail this way.
Come to think, at least tahoe does not support encryption config.
Although it seems very unlikely it would be useful combined with tahoe.
Of course, it still won't, and cannot possibly work when combined with a
http export of a git working tree. But then the docs are clear it won't
work with everything.
"""]]