summaryrefslogtreecommitdiff
path: root/doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopie...
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-18 14:11:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-18 14:20:57 -0400
commit265fb05852816fbaa1ab8ebfee8d4187d156e33c (patch)
tree9c3f115ee9a88814cb751e80fbbba5204fefd289 /doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn
parentfe0dbbabc3208c79eab8390e2789ea2fc2e02981 (diff)
Fix checking when content is present in a non-bare repository accessed via http.
I thought at first this was a Windows specific problem, but it's not; this affects checking any non-bare repository exported via http. Which is a potentially important use case! The actual bug was the case where Right False was returned by the first url short-curcuited later checks. But the whole method used felt like code I'd no longer write, and the use of undefined was particularly disgusting. So I rewrote it. Also added an action display. This commit was sponsored by Eric Hanchrow. Thanks!
Diffstat (limited to 'doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn')
-rw-r--r--doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn b/doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn
index dcf1ff1e8..ec87cefbe 100644
--- a/doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn
+++ b/doc/bugs/Won__39__t_drop_files__44___even_though_remote_annexes_have_at_least_numcopies.mdwn
@@ -35,3 +35,5 @@ git-annex: drop: 1 failed
the given curl command fails with a 404, because the remote annex isn't using the 3-character hash directory scheme, but the 2-character one, and it seems that 'annex drop' doesn't check both schemes (unlike annex get).
+> Ah, the http remote is a non-bare repository, that's why.
+> Ok, [[fixed|done]]! --[[Joey]]