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!
This commit is contained in:
Joey Hess 2013-07-18 14:11:56 -04:00
parent 3e422cb5fa
commit d2f40d3d76
3 changed files with 12 additions and 10 deletions

2
debian/changelog vendored
View file

@ -11,6 +11,8 @@ git-annex (4.20130710) UNRELEASED; urgency=low
are not deleted. Print a message with some suggested actions.
* When a transfer is already being run by another process,
proceed on to the next file, rather than dying.
* Fix checking when content is present in a non-bare repository
accessed via http.
-- Joey Hess <joeyh@debian.org> Tue, 09 Jul 2013 19:17:13 -0400