Commit Graph

72 Commits (master)

Author SHA1 Message Date
Junio C Hamano afe8a9070b tree-wide: apply equals-null.cocci 5 months ago
Ævar Arnfjörð Bjarmason 8dda4cbdf2 http: rename CURLOPT_FILE to CURLOPT_WRITEDATA 1 year ago
Jeff King 013c7e2b07 http: drop support for curl < 7.16.0 1 year ago
brian m. carlson 92e2cab96b Always use oidread to read into struct object_id 1 year ago
Jonathan Tan eb05349247 http: refactor finish_http_pack_request() 2 years ago
brian m. carlson 2bf1db7862 http-walker: replace sha1_to_hex 4 years ago
brian m. carlson 538b152324 object-store: rename and expand packed_git's sha1 member 4 years ago
Jeff King 3d10f72ef8 http: use normalize_curl_result() instead of manual conversion 4 years ago
Jeff King ccbbd8bf66 http: normalize curl results for dumb loose and alternates fetches 4 years ago
Jeff King 98374a07c9 convert has_sha1_file() callers to has_object_file() 4 years ago
Jeff King 514c5fdd03 sha1-file: modernize loose object file functions 4 years ago
Jeff King f0be0db13d http: use struct object_id instead of bare sha1 4 years ago
Jeff King b69fb867b4 sha1_file_name(): overwrite buffer instead of appending 4 years ago
Jeff King 67947c34ae convert "hashcmp() != 0" to "!hasheq()" 4 years ago
Jeff King e3ff0683e2 convert "hashcmp() == 0" to hasheq() 4 years ago
Stefan Beller cf78ae4f3d sha1_file: add repository argument to sha1_file_name 5 years ago
Stefan Beller a80d72db2a object-store: move packed_git and packed_git_mru to object store 5 years ago
brian m. carlson 16f0705df1 http-walker: convert struct object_request to use struct object_id 5 years ago
Christian Couder ea6577303f sha1_file: remove static strbuf from sha1_file_name() 5 years ago
Jonathan Tan d6fe0036fd pack: move find_sha1_pack() 5 years ago
Jeff King d61434ae81 http-walker: fix buffer underflow processing remote alternates 6 years ago
Eric Wong 5cae73d5d2 http: release strbuf on disabled alternates 6 years ago
Eric Wong de46138826 http: inform about alternates-as-redirects behavior 6 years ago
Jeff King abcbdc0389 http: respect protocol.*.allow=user for http-alternates 6 years ago
Jeff King 3680f16f9d http-walker: complain about non-404 loose object errors 6 years ago
Jeff King cb4d2d35c4 http: treat http-alternates like redirects 6 years ago
Eric Wong 94e99012fc http-walker: reduce O(n) ops with doubly-linked list 6 years ago
Eric Wong 17966c0a63 http: avoid disconnecting on 404s for loose objects 6 years ago
Eric Wong 43b8bba6b6 http-walker: remove unused parameter from fetch_object 6 years ago
Jeff King 54ba4c5fa2 http-walker: store url in a strbuf 7 years ago
René Scharfe 59b8263a6d http-walker: simplify process_alternates_response() using strbuf 8 years ago
Jeff King 283101869b use xstrfmt to replace xmalloc + sprintf 8 years ago
Jeff King 95244ae3dd use xstrdup instead of xmalloc + strcpy 8 years ago
Michael Haggerty 07c19e72c5 Rename static function fetch_pack() to http_fetch_pack() 10 years ago
Dan McGee a04ff3ec32 http: make curl callbacks match contracts from curl header 12 years ago
Jonathan Nieder 9cba13ca5d standardize brace placement in struct definitions 12 years ago
Gary V. Vaughan 4b05548fc0 enums: omit trailing comma for portability 13 years ago
Shawn O. Pearce 0da8b2e7c8 http.c: Don't store destination name in request structures 13 years ago
Tay Ray Chuan 888692b733 http: init and cleanup separately from http-walker 13 years ago
Tay Ray Chuan 09ae9aca14 http-walker: cleanup more thoroughly 13 years ago
Tay Ray Chuan 5424bc557f http*: add helper methods for fetching objects (loose) 14 years ago
Tay Ray Chuan 2264dfa5c4 http*: add helper methods for fetching packs 14 years ago
Tay Ray Chuan b8caac2b8a http*: add http_get_info_packs 14 years ago
Tay Ray Chuan e917674597 http*: move common variables and macros to http.[ch] 14 years ago
Tay Ray Chuan 20cfb3aa71 http*: copy string returned by sha1_to_hex 14 years ago
Tay Ray Chuan 48188c259a http-walker: verify remote packs 14 years ago
Tay Ray Chuan 4c42aa1a13 http-push, http-walker: style fixes 14 years ago
Tay Ray Chuan 16493eb0d0 http*: cleanup slot->local after fclose 14 years ago
Alex Riesen 691f1a28bf replace direct calls to unlink(2) with unlink_or_warn 14 years ago
Johan Herland fb8b193670 Move chmod(foo, 0444) into move_temp_to_file() 14 years ago