http-fetch: refactor into function
authorJonathan Tan <redacted>
Wed, 10 Jun 2020 20:57:17 +0000 (13:57 -0700)
committerJunio C Hamano <redacted>
Thu, 11 Jun 2020 01:06:34 +0000 (18:06 -0700)
commit8e6adb69e18b18de72f0114d153b47bed4560560
tree214eca1098f9dc02e38c544e05d4e189b15e318e
parenteb05349247415992644fc63ba0cf0c4821d4eef2
http-fetch: refactor into function

cmd_main() in http-fetch.c will grow in a future patch, so refactor the
HTTP walking part into its own function.

Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
http-fetch.c
git clone https://git.99rst.org/PROJECT