aboutsummaryrefslogtreecommitdiff
path: root/Messages/JSON.hs
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 /Messages/JSON.hs
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 'Messages/JSON.hs')
0 files changed, 0 insertions, 0 deletions