Re: A few more fixups to gitweb
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 1, 2006, 08:04 UTC
- Message-ID
- <7vd5bk3mqo.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <ean0a1$irf$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 5 quoted lines
> By the way, I wonder why git when cloning/fetching via http protocol > uses e.g. "git/1.4.2.rc2.ge0bed" as User-Agent: string when fetching objects > and packs, and e.g. "curl/7.15.4 (i486-pc-linux-gnu) libcurl/7.15.4 > OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5" as User-Agent: when fetching refs > (heads and tags) and info/refs.
"Why?", meaning if we deliberately do so for some good reason?
There isn't.
git-http-fetch uses its own User-Agent string, but the shell script wrappers that use curl executable do not bother setting customized User-Agent string; that is why.