From 838465ac636ff556fa9ad7e58764e830dc6ef228 Mon Sep 17 00:00:00 2001 From: bugmenot Date: Thu, 10 Oct 2019 05:28:53 +0000 Subject: [PATCH] Added a comment: --link accepts itself --- ...comment_1_d5a6a2eab5d32a9c2f4ed194e01d95e8._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/git-annex-p2p/comment_1_d5a6a2eab5d32a9c2f4ed194e01d95e8._comment diff --git a/doc/git-annex-p2p/comment_1_d5a6a2eab5d32a9c2f4ed194e01d95e8._comment b/doc/git-annex-p2p/comment_1_d5a6a2eab5d32a9c2f4ed194e01d95e8._comment new file mode 100644 index 0000000000..0455dfd985 --- /dev/null +++ b/doc/git-annex-p2p/comment_1_d5a6a2eab5d32a9c2f4ed194e01d95e8._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="bugmenot" + avatar="http://cdn.libravatar.org/avatar/d3f7106e378e83d54c010c230ff074b9" + subject="--link accepts itself" + date="2019-10-10T05:28:53Z" + content=""" +Is there a good reason why `git annex p2p --link` will accept addresses that points to itself? + +I'm trying to script automatic addition of .onion peers, and it's a bit annoying to have to filter the .onion pointing to the current repo instead of just adding all of the .onion urls and having it ignore/warn/fail on the one that is currently in .git/annex/creds/p2paddrs +"""]]