summaryrefslogtreecommitdiff
path: root/doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-07 15:18:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-07 15:18:45 -0400
commit947931ef013905dd993d688d66f2528fb854b01a (patch)
treeffe7cf4381cb24385534f698c6f16edd7aa6cde9 /doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__
parentc8d5b2067037ecb56c06cd1cc32f248c463ed228 (diff)
respond and close
Diffstat (limited to 'doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__')
-rw-r--r--doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__/comment_1_92ea74beb2f8beb449769404a7f57a77._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__/comment_1_92ea74beb2f8beb449769404a7f57a77._comment b/doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__/comment_1_92ea74beb2f8beb449769404a7f57a77._comment
new file mode 100644
index 000000000..55fe57947
--- /dev/null
+++ b/doc/bugs/annex_ignores_pushurl_and_uses_only_url_upon___34__copy_--to__34__/comment_1_92ea74beb2f8beb449769404a7f57a77._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-02-07T19:13:28Z"
+ content="""
+Thing is, pushUrl is documented in git-push as "The <pushurl> is used for
+pushes only.". And while git-annex is sending data to the remote,
+that's not really the same as a push.
+
+Following that logic, if git has a pullUrl, then git-annex should
+use that for `git annex get`, since that's similar to a pull.
+But then there are other operations git-annex does to remotes
+that are similar to neither a push or a pull. And if git doesn't have a
+pullUrl, then `git annex get` probably shouldn't use pushUrl, because
+perhaps git will later get a pullUrl.
+
+That's why annexUrl was added in 2011. Which is just used for all annex
+operations.
+
+So, I suggest you just set annexUrl at the same time you set pushUrl,
+and be happy. ;)
+"""]]