Merge branch 'jk/maint-http-half-auth-push'
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Sep 2012 18:09:49 +0000 (11:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Sep 2012 18:09:50 +0000 (11:09 -0700)
commite6dd70e9bfef40d545cb0f452f082bde562e8785
tree6ca29bfd8d3a36bfae9508c8756ff81e3a78b224
parent9192ece94b94ccbc061216517251400db691de86
parentb81401c1de0e0fec39f8643ce7a794fda083f7a1
Merge branch 'jk/maint-http-half-auth-push'

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