Merge branch 'jk/maint-http-half-auth-push' into maint-1.7.11
commit7d9483c299b4467fb4c6d32ade8207232235528c
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 20:58:22 +0000 (12 13:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 20:58:23 +0000 (12 13:58 -0700)
tree557e465a4c272e58dd37ee1a26c9c1c20b667b65
parent92c830dd35ff6b82b7ed65de113a722813474281
parentb81401c1de0e0fec39f8643ce7a794fda083f7a1
Merge branch 'jk/maint-http-half-auth-push' into maint-1.7.11

Pushing to smart HTTP server with recent Git fails without having
the username in the URL to force authentication, if the server is
configured to allow GET anonymously, while requiring authentication
for POST.

* jk/maint-http-half-auth-push:
  http: prompt for credentials on failed POST
  http: factor out http error code handling
  t: test http access to "half-auth" repositories
  t: test basic smart-http authentication
  t/lib-httpd: recognize */smart/* repos as smart-http
  t/lib-httpd: only route auth/dumb to dumb repos
  t5550: factor out http auth setup
  t5550: put auth-required repo in auth/dumb
http.c
t/t5551-http-fetch.sh