Allow HTTP user agent string to be modified.
commitb1d1058cc348a985a6209f920fab0db592dc83de
authorSpencer E. Olson <olsonse@umich.edu>
Wed, 11 Aug 2010 20:40:38 +0000 (11 14:40 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Aug 2010 21:07:31 +0000 (11 14:07 -0700)
tree7ab93f6a533ec1ec72336cd537320de2a0f3f6db
parent64fdc08dac6694d1e754580e7acb82dfa4988bb9
Allow HTTP user agent string to be modified.

Some firewalls restrict HTTP connections based on the clients user agent.  This
commit provides the user the ability to modify the user agent string via either
a new config option (http.useragent) or by an environment variable
(GIT_HTTP_USER_AGENT).

Relevant documentation is added to Documentation/config.txt.

Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Makefile
http.c