Merge branch 'jk/maint-http-half-auth-push' into next
commit0ed32f54b5fbf455f836245ae7d057ce0c9dd5a9
authorJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2012 22:04:53 +0000 (29 15:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2012 22:04:53 +0000 (29 15:04 -0700)
treee9e4276ccffd568ae027d4884b980a66dc23e026
parente0d0f5c21757acd5e70e064226efe2470054f38c
parentb81401c1de0e0fec39f8643ce7a794fda083f7a1
Merge branch 'jk/maint-http-half-auth-push' into next

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/lib-httpd.sh
t/lib-httpd/apache.conf
t/t5541-http-push.sh
t/t5551-http-fetch.sh