aboutsummaryrefslogtreecommitdiffstats
path: root/remote-curl.c
AgeCommit message (Expand)AuthorFilesLines
14 daysMerge branch 'jk/libcurl-8.7-regression-workaround'Junio C Hamano1-0/+3
2024-04-05remote-curl: add Transfer-Encoding header only for older curlJeff King1-0/+3
2024-03-20transport-helper: drop "object-format <algo>" optionJeff King1-7/+2
2024-01-30Merge branch 'jx/remote-archive-over-smart-http'Junio C Hamano1-3/+11
2024-01-22remote-curl: supports git-upload-archive serviceJiang Xin1-3/+11
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-2/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-26http.h: remove unnecessary includeElijah Newren1-0/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-12remote-curl: rediscover repository when fetching refsPatrick Steinhardt1-2/+5
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-07pkt-line: add size parameter to packet_length()René Scharfe1-1/+2
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+4
2023-03-28Merge branch 'jk/fix-proto-downgrade-to-v0'Junio C Hamano1-3/+4
2023-03-21write-or-die.h: move declarations for write-or-die.c functions from cache.hElijah Newren1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-17git_connect(): fix corner cases in downgrading v2 to v0Jeff King1-3/+4
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-1/+2
2023-02-06Sync with 2.37.6Johannes Schindelin1-15/+13
2023-02-06Sync with 2.35.7Johannes Schindelin1-15/+13
2023-02-06Sync with 2.34.7Johannes Schindelin1-15/+13
2023-02-06http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTIONJeff King1-15/+13
2023-01-17http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTIONJeff King1-15/+13
2022-08-10remote-curl: add 'get' capabilityDerrick Stolee1-0/+28
2022-07-11remote-curl: send Accept-Language header to serverLi Linchao1-3/+18
2022-04-04Merge branch 'rc/fetch-refetch'Junio C Hamano1-0/+6
2022-03-28builtin/fetch-pack: add --refetch optionRobert Coup1-0/+6
2022-03-04remote-curl.c: free memory in cmd_main()Ævar Arnfjörð Bjarmason1-4/+8
2021-11-25run-command API users: use strvec_pushv(), not argv assignmentÆvar Arnfjörð Bjarmason1-1/+1
2021-10-25Merge branch 'ab/pkt-line-cleanup'Junio C Hamano1-1/+1
2021-10-15pkt-line.[ch]: remove unused packet_read_line_buf()Ævar Arnfjörð Bjarmason1-1/+1
2021-10-11Merge branch 'ab/http-pinned-public-key-mismatch'Junio C Hamano1-0/+4
2021-09-28string-list.[ch]: remove string_list_init() compatibility functionÆvar Arnfjörð Bjarmason1-2/+2
2021-09-27http: check CURLE_SSL_PINNEDPUBKEYNOTMATCH when emitting errorsÆvar Arnfjörð Bjarmason1-0/+4
2021-08-24Merge branch 'ab/http-drop-old-curl'Junio C Hamano1-9/+2
2021-07-30http: rename CURLOPT_FILE to CURLOPT_WRITEDATAÆvar Arnfjörð Bjarmason1-2/+2
2021-07-30http: drop support for curl < 7.16.0Jeff King1-4/+0
2021-07-30http: drop support for curl < 7.11.1Jeff King1-3/+0
2021-07-28Merge branch 'dl/packet-read-response-end-fix'Junio C Hamano1-1/+1
2021-07-09pkt-line: replace "stateless separator" with "response end"Denton Liu1-1/+1
2021-05-12remote-curl: fix clone on sha256 reposEric Wong1-0/+2
2020-10-03push: parse and set flag for "--force-if-includes"Srinidhi Kaushik1-1/+13
2020-09-03Merge branch 'jt/lazy-fetch'Junio C Hamano1-6/+0
2020-08-24(various): document from_promisor parameterJonathan Tan1-0/+3
2020-08-18fetch-pack: remove no_dependents codeJonathan Tan1-6/+0
2020-08-10Merge branch 'jk/strvec'Junio C Hamano1-51/+51
2020-07-30strvec: rename struct fieldsJeff King1-3/+3
2020-07-30Merge branch 'bc/push-cas-cquoted-refname' into masterJunio C Hamano1-1/+5
2020-07-28strvec: fix indentation in renamed callsJeff King1-4/+4
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-43/+43
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-07-20remote-curl: make --force-with-lease work with non-ASCII ref namesbrian m. carlson1-1/+5
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-4/+42
2020-06-19remote-curl: avoid truncating refs with ls-remotebrian m. carlson1-1/+3
2020-06-19remote-curl: detect algorithm for dumb HTTP by sizebrian m. carlson1-2/+21
2020-05-27remote-curl: implement object-format extensionsbrian m. carlson1-1/+18
2020-05-24stateless-connect: send response end packetDenton Liu1-0/+5
2020-05-24pkt-line: define PACKET_READ_RESPONSE_ENDDenton Liu1-0/+2
2020-05-24remote-curl: error on incomplete packetDenton Liu1-3/+56
2020-05-18remote-curl: remove label indentationDenton Liu1-1/+1
2020-05-18remote-curl: fix typoDenton Liu1-1/+1
2020-03-30oid_array: rename source file from sha1-arrayJeff King1-1/+1
2020-03-09Merge branch 'rs/show-progress-in-dumb-http-fetch'Junio C Hamano1-0/+1
2020-03-03remote-curl: show progress for fetches over dumb HTTPRené Scharfe1-0/+1
2020-01-31C: use skip_prefix() to avoid hardcoded string lengthJunio C Hamano1-2/+3
2019-10-23Merge branch 'bc/smart-http-atomic-push'Junio C Hamano1-1/+12
2019-10-17remote-curl: pass on atomic capability to remote sidebrian m. carlson1-1/+12
2019-10-15remote-curl: use argv_array in parse_push()René Scharfe1-13/+9
2019-06-03i18n: fix typos found during l10n for git 2.22.0Jiang Xin1-2/+2
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-5/+6
2019-04-16Merge branch 'js/remote-curl-i18n'Junio C Hamano1-25/+25
2019-04-16Merge branch 'js/anonymize-remote-curl-diag'Junio C Hamano1-6/+13
2019-04-01remote-curl: make hash size independentbrian m. carlson1-5/+6
2019-03-07Merge branch 'jt/http-auth-proto-v2-fix'Junio C Hamano1-205/+179
2019-03-06remote-curl: mark all error messages for translationJohannes Schindelin1-25/+25
2019-03-05curl: anonymize URLs in error messages and warningsJohannes Schindelin1-6/+13
2019-03-03remote-curl: use post_rpc() for protocol v2 alsoJonathan Tan1-184/+149
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+7
2019-02-22remote-curl: refactor reading into rpc_state's bufJonathan Tan1-9/+24
2019-02-14remote-curl: reduce scope of rpc_state.resultJonathan Tan1-12/+13
2019-02-14remote-curl: reduce scope of rpc_state.stdin_preambleJonathan Tan1-9/+4
2019-02-14remote-curl: reduce scope of rpc_state.argvJonathan Tan1-7/+5
2019-02-06remote-curl: tighten "version 2" check for smart-httpJeff King1-1/+1
2019-02-06remote-curl: refactor smart-http discoveryJeff King1-43/+57
2019-02-05Merge branch 'jt/fetch-v2-sideband'Junio C Hamano1-9/+20
2019-01-29Merge branch 'ms/http-no-more-failonerror'Junio C Hamano1-5/+24
2019-01-10remote-curl: unset CURLOPT_FAILONERRORMasaya Suzuki1-0/+10
2019-01-10remote-curl: define struct for CURLOPT_WRITEFUNCTIONMasaya Suzuki1-4/+14
2019-01-10http: enable keep_error for HTTP requestsMasaya Suzuki1-1/+0
2019-01-02pack-protocol.txt: accept error packets in any contextMasaya Suzuki1-3/+6
2019-01-02Use packet_reader instead of packet_read_lineMasaya Suzuki1-7/+15
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-11-21Merge branch 'en/double-semicolon-fix' into maintJunio C Hamano1-1/+1
2018-11-12remote-curl.c: xcurl_off_t is not portable (on 32 bit platfoms)Torsten Bögershausen1-3/+4
2018-09-24Merge branch 'en/double-semicolon-fix'Junio C Hamano1-1/+1
2018-09-05Remove superfluous trailing semicolonsElijah Newren1-1/+1
2018-08-20Merge branch 'js/typofixes'Junio C Hamano1-1/+1
2018-08-08remote-curl: remove spurious periodJohannes Schindelin1-1/+1
2018-05-23remote-curl: accept compressed responses with protocol v2Brandon Williams1-0/+1
2018-05-23remote-curl: accept all encodings supported by curlBrandon Williams1-1/+1
2018-05-08Merge branch 'ma/http-walker-no-partial'Junio C Hamano1-3/+0
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-4/+276
2018-04-24walker: drop fields of `struct walker` which are always 1Martin Ågren1-3/+0
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-03-15remote-curl: don't request v2 when pushingBrandon Williams1-1/+10
2018-03-15remote-curl: implement stateless-connect commandBrandon Williams1-1/+206
2018-03-15http: eliminate "# service" line when using protocol v2Brandon Williams1-0/+3
2018-03-15http: don't always add Git-Protocol headerBrandon Williams1-0/+33
2018-03-15remote-curl: store the protocol version the server responded withBrandon Williams1-1/+3
2018-03-15remote-curl: create copy of the service nameBrandon Williams1-2/+3
2018-03-14protocol: introduce enum protocol_version value protocol_v2Brandon Williams1-0/+3
2018-03-14connect: discover protocol version outside of get_remote_headsBrandon Williams1-2/+18
2018-02-28Merge branch 'jk/push-options-via-transport-fix'Junio C Hamano1-1/+10
2018-02-27Merge branch 'js/packet-read-line-check-null'Junio C Hamano1-0/+2
2018-02-20remote-curl: unquote incoming push-optionsJeff King1-1/+10
2018-02-08always check for NULL return from packet_read_line()Jon Simons1-0/+2
2017-12-08fetch: support filtersJeff Hostetler1-0/+6
2017-12-05introduce fetch-object: fetch one promisor objectJonathan Tan1-1/+13
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-04-23Merge branch 'dt/http-postbuffer-can-be-large'Junio C Hamano1-3/+9
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-04-13http.postbuffer: allow full range of ssize_t valuesDavid Turner1-3/+9
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-1/+1
2017-03-28sha1-array: convert internal storage for struct sha1_array to object_idbrian m. carlson1-1/+1
2017-03-22remote-curl: allow push optionsBrandon Williams1-0/+8
2017-01-10Merge branch 'dt/smart-http-detect-server-going-away'Junio C Hamano1-0/+8
2016-12-19Merge branch 'jk/http-walker-limit-redirect-2.9'Junio C Hamano1-9/+13
2016-12-06http: make redirects more obviousJeff King1-0/+4
2016-12-06remote-curl: rename shadowed options variableJeff King1-9/+9
2016-11-18remote-curl: don't hang when a server dies before any outputDavid Turner1-0/+8
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-31/+49
2016-07-06Merge branch 'jk/common-main-2.8' into jk/common-mainJunio C Hamano1-4/+1
2016-07-01common-main: call git_setup_gettext()Jeff King1-2/+0
2016-07-01common-main: call git_extract_argv0_path()Jeff King1-1/+0
2016-07-01add an extra level of indirection to main()Jeff King1-1/+1
2016-06-13fetch, upload-pack: --deepen=N extends shallow boundary by N commitsNguyễn Thái Ngọc Duy1-1/+13
2016-06-13fetch: define shallow boundary with --shallow-excludeNguyễn Thái Ngọc Duy1-0/+9
2016-06-13fetch: define shallow boundary with --shallow-sinceNguyễn Thái Ngọc Duy1-2/+9
2016-06-13remote-curl.c: convert fetch_git() to use argv_arrayNguyễn Thái Ngọc Duy1-28/+18
2016-04-27http: support sending custom HTTP headersJohannes Schindelin1-2/+2
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-13/+13
2016-02-24Merge branch 'sp/remote-curl-ssl-strerror'Junio C Hamano1-2/+14
2016-02-24Merge branch 'ew/force-ipv4'Junio C Hamano1-0/+13
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-1/+2
2016-02-22convert manual allocations to argv_arrayJeff King1-12/+11
2016-02-15remote-curl: include curl_errorstr on SSL setup failuresShawn Pearce1-2/+14
2016-02-12connect & http: support -4 and -6 switches for remote operationsEric Wong1-0/+13
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-3/+3
2015-11-20parse_fetch: convert to use struct object_idbrian m. carlson1-6/+6
2015-11-20Convert struct ref to use object_id.brian m. carlson1-5/+5
2015-10-05use alloc_ref rather than hand-allocating "struct ref"Jeff King1-4/+1
2015-08-19push: support signing pushes iff the server supports itDave Borowitz1-5/+11
2015-03-17Merge branch 'rs/deflate-init-cleanup'Junio C Hamano1-1/+0
2015-03-05zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}René Scharfe1-1/+0
2015-02-18Merge branch 'ye/http-accept-language'Junio C Hamano1-0/+2
2015-02-17Merge branch 'jk/remote-curl-an-array-in-struct-cannot-be-null'Junio C Hamano1-1/+1
2015-01-28do not check truth value of flex arraysJeff King1-1/+1
2015-01-28http: add Accept-Language header if possibleYi EungJun1-0/+2
2014-10-08Merge branch 'jc/push-cert'Junio C Hamano1-1/+12
2014-09-19Merge branch 'da/styles'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/send-pack-many-refspecs'Junio C Hamano1-1/+7
2014-09-17signed push: teach smart-HTTP to pass "git push --signed" aroundJunio C Hamano1-1/+12
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-1/+1
2014-08-26send-pack: take refspecs over stdinJeff King1-1/+7
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-2/+1
2014-07-21Merge branch 'jk/remote-curl-squelch-extra-errors'Junio C Hamano1-8/+6
2014-07-10remote-curl: mark helper-protocol errors more clearlyJeff King1-4/+4
2014-07-10remote-curl: use error instead of fprintf(stderr)Jeff King1-5/+5
2014-07-10remote-curl: do not complain on EOF from parent gitJeff King1-2/+0
2014-06-20use skip_prefix to avoid repeating stringsJeff King1-7/+8
2014-05-27remote-curl: reencode http error messagesJeff King1-7/+10
2014-05-27http: extract type/subtype portion of content-typeJeff King1-1/+1
2014-02-18http: never use curl_easy_performJeff King1-4/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-5/+30
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-7/+7
2013-12-10smart-http: support shallow fetch/cloneNguyễn Thái Ngọc Duy1-4/+28
2013-12-10remote-curl: pass ref SHA-1 to fetch-pack as wellNguyễn Thái Ngọc Duy1-1/+2
2013-12-10connect.c: teach get_remote_heads to parse "shallow" linesNguyễn Thái Ngọc Duy1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-7/+7
2013-12-05Merge branch 'bc/http-100-continue'Junio C Hamano1-10/+21
2013-10-31remote-curl: fix large pushes with GSSAPIBrian M. Carlson1-2/+9
2013-10-31remote-curl: pass curl slot_results back through run_slotJeff King1-9/+13
2013-10-30Merge branch 'jk/http-auth-redirects'Junio C Hamano1-28/+41
2013-10-14remote-curl: rewrite base url from info/refs redirectsJeff King1-0/+4
2013-10-14remote-curl: store url as a strbufJeff King1-19/+19
2013-10-14remote-curl: make refs_url a strbufJeff King1-8/+7
2013-10-14http: hoist credential request out of handle_curl_resultJeff King1-1/+6
2013-09-30http: refactor options to http_get_*Jeff King1-2/+7
2013-09-09Merge branch 'jc/push-cas'Junio C Hamano1-0/+12
2013-09-09Merge branch 'nd/clone-connectivity-shortcut'Junio C Hamano1-1/+14
2013-08-02push: teach --force-with-lease to smart-http transportJunio C Hamano1-1/+15
2013-07-23smart http: use the same connectivity check on cloningNguyễn Thái Ngọc Duy1-1/+14
2013-07-09remote-http: use argv-arrayJunio C Hamano1-16/+16
2013-04-06remote-curl: die directly with http error messagesJeff King1-2/+1