diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2009-09-09 20:33:50 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-11 01:45:36 -0700 |
commit | 59b8d38f6e4f19b93c5dc4493ab11706acd101b5 (patch) | |
tree | b989f8f058a3a9745d1b11b8e0b2647fad8d2c8c /builtin-describe.c | |
parent | 90e431152e05d3e8eb80a0db2e81b7cf50ecc745 (diff) | |
download | git-59b8d38f6e4f19b93c5dc4493ab11706acd101b5.tar.gz |
http.c: remove verification of remote packs
Make http.c::fetch_pack_index() no longer check for the remote pack
with a HEAD request before fetching the corresponding pack index file.
Not only does sending a HEAD request before we do a GET incur a
performance penalty, it does not offer any significant error-
prevention advantages (pack fetching in the *_http_pack_request()
methods is capable of handling any errors on its own).
This addresses an issue raised elsewhere:
http://code.google.com/p/msysgit/issues/detail?id=323
http://support.github.com/discussions/repos/957-cant-clone-over-http-or-git
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-describe.c')
0 files changed, 0 insertions, 0 deletions