comment
authorJoey Hess <joeyh@joeyh.name>
Thu, 17 Sep 2020 21:19:58 +0000 (17:19 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 17 Sep 2020 21:19:58 +0000 (17:19 -0400)
doc/bugs/httpalso_mode_expects_encryption/comment_3_26bd32dcaae0fd2c5899a65f6c437e08._comment [new file with mode: 0644]

diff --git a/doc/bugs/httpalso_mode_expects_encryption/comment_3_26bd32dcaae0fd2c5899a65f6c437e08._comment b/doc/bugs/httpalso_mode_expects_encryption/comment_3_26bd32dcaae0fd2c5899a65f6c437e08._comment
new file mode 100644 (file)
index 0000000..52200db
--- /dev/null
@@ -0,0 +1,16 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2020-09-17T20:54:02Z"
+ content="""
+httpalso automatically enables exporttree=yes when the --sameas remote is
+such a remote. The working tree of a regular git repository is not such
+a remote, and that cannot possibly work. Use a directory special remote
+with exporttree=yes and then httpalso will be able to access it, as is
+documented.
+
+To access a git remote over http, git-annex needs to be able to download and
+parse its .git/config to determine its annex.uuid. When the http server 
+and url are configured properly, that does work.
+<https://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/>
+"""]]