]> git.ipfire.org Git - thirdparty/git.git/commit - http.c
http-fetch: support fetching packfiles by URL
authorJonathan Tan <jonathantanmy@google.com>
Wed, 10 Jun 2020 20:57:18 +0000 (13:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jun 2020 01:06:34 +0000 (18:06 -0700)
commit8d5d2a34df4f82cd9cce913fa25f3a3c2c07d126
tree5bed1dd7872cbc4bf914e4d38008f602d6654032
parent8e6adb69e18b18de72f0114d153b47bed4560560
http-fetch: support fetching packfiles by URL

Teach http-fetch the ability to download packfiles directly, given a
URL, and to verify them.

The http_pack_request suite has been augmented with a function that
takes a URL directly. With this function, the hash is only used to
determine the name of the temporary file.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-http-fetch.txt
http-fetch.c
http.c
http.h
t/t5550-http-fetch-dumb.sh