aboutsummaryrefslogtreecommitdiffstats
path: root/upload-pack.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07Merge branch 'jk/upload-pack-v2-capability-cleanup'Junio C Hamano1-32/+26
2024-03-07Merge branch 'jk/upload-pack-bounded-resources'Junio C Hamano1-67/+50
2024-02-29upload-pack: only accept packfile-uris if we advertised itJeff King1-9/+7
2024-02-28upload-pack: use existing config mechanism for advertisementJeff King1-16/+10
2024-02-28upload-pack: centralize setup of sideband-all configJeff King1-2/+3
2024-02-28upload-pack: use repository struct to get configJeff King1-5/+6
2024-02-28upload-pack: free tree buffers after parsingJeff King1-3/+6
2024-02-28upload-pack: use PARSE_OBJECT_SKIP_HASH_CHECK in more placesJeff King1-2/+4
2024-02-28upload-pack: always turn off save_commit_bufferJeff King1-2/+0
2024-02-28upload-pack: accept only a single packfile-uri lineJeff King1-0/+3
2024-02-28upload-pack: use a strmap for want-ref linesJeff King1-13/+17
2024-02-28upload-pack: use oidset for deepen_not listJeff King1-10/+11
2024-02-28upload-pack: switch deepen-not list to an oid_arrayJeff King1-7/+7
2024-02-28upload-pack: drop separate v2 "haves" arrayJeff King1-38/+10
2024-02-26upload-pack: don't send null character in abort message to the clientSZEDER Gábor1-1/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-6/+0
2023-10-30upload-pack: add tracing for fetchesRobert Coup1-0/+28
2023-08-24Merge branch 'ds/upload-pack-error-sequence-fix'Junio C Hamano1-2/+3
2023-08-16upload-pack: fix exit code when denying fetch of unreachable object IDPatrick Steinhardt1-1/+1
2023-08-10upload-pack: fix race condition in error messagesDerrick Stolee1-2/+3
2023-07-21Merge branch 'tb/refs-exclusion-and-packed-refs'Junio C Hamano1-11/+36
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-10upload-pack.c: avoid enumerating hidden refs where possibleTaylor Blau1-6/+31
2023-07-10refs.h: let `for_each_namespaced_ref()` take excluded patternsTaylor Blau1-3/+3
2023-07-10revision.h: store hidden refs in a `strvec`Taylor Blau1-5/+5
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-6/+12
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-5/+7
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-2/+6
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-05-17upload-pack: advertise capabilities when cloning empty reposbrian m. carlson1-5/+17
2023-04-25Merge branch 'jk/protocol-cap-parse-fix'Junio C Hamano1-1/+1
2023-04-14v0 protocol: use size_t for capability length/offsetJeff King1-1/+1
2023-04-11treewide: remove double forward declaration of read_in_fullElijah Newren1-0/+1
2023-04-11treewide: remove unnecessary cache.h inclusionElijah Newren1-1/+1
2023-04-11treewide: be explicit about dependence on oid-array.hElijah Newren1-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/+3
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-4/+4
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-4/+4
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+4
2023-03-21write-or-die.h: move declarations for write-or-die.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-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano1-5/+5
2023-02-24serve: mark unused parameters in virtual functionsJeff King1-1/+1
2023-02-24serve: use repository pointer to get configJeff King1-4/+4
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-11-17refs: get rid of global list of hidden refsPatrick Steinhardt1-12/+18
2022-09-19Merge branch 'jk/list-objects-filter-cleanup'Junio C Hamano1-0/+1
2022-09-14Merge branch 'ab/unused-annotation'Junio C Hamano1-3/+3
2022-09-14Merge branch 'jk/unused-annotation'Junio C Hamano1-3/+4
2022-09-12list-objects-filter: add and use initializersJeff King1-0/+1
2022-09-07parse_object(): check commit-graph when skip_hash setJeff King1-7/+2
2022-09-07upload-pack: skip parse-object re-hashing of "want" objectsJeff King1-1/+2
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-3/+3
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-3/+4
2022-07-27upload-pack: fix a memory leak in create_pack_file()Ævar Arnfjörð Bjarmason1-0/+1
2022-07-14config: learn `git_protected_config()`Glen Choo1-10/+17
2022-03-01upload-pack: look up "want" lines via commit-graphPatrick Steinhardt1-3/+17
2021-12-15upload-pack.c: increase output buffer sizeJacob Vosmaer1-5/+12
2021-11-25run-command API users: use strvec_pushl(), not argv constructionÆvar Arnfjörð Bjarmason1-4/+1
2021-09-20Merge branch 'ab/serve-cleanup'Junio C Hamano1-9/+12
2021-09-20Merge branch 'jv/pkt-line-batch'Junio C Hamano1-3/+8
2021-09-01upload-pack: use stdio in send_ref callbacksJacob Vosmaer1-3/+8
2021-09-01upload-pack.c: treat want-ref relative to namespaceKim Altintop1-7/+11
2021-08-05serve.[ch]: remove "serve_options", split up --advertise-refs codeÆvar Arnfjörð Bjarmason1-7/+11
2021-08-05serve.[ch]: don't pass "struct strvec *keys" to commandsÆvar Arnfjörð Bjarmason1-2/+1
2021-05-16Merge branch 'jt/push-negotiation'Junio C Hamano1-5/+13
2021-05-05fetch: teach independent negotiation (no packfile)Jonathan Tan1-5/+13
2021-04-13lookup_unknown_object(): take a repository argumentJeff King1-1/+1
2021-02-17Merge branch 'ak/corrected-commit-date'Junio C Hamano1-1/+1
2021-02-12Merge branch 'jv/upload-pack-filter-spec-quotefix'Junio C Hamano1-8/+1
2021-01-28upload-pack.c: fix filter spec quoting bugJacob Vosmaer1-8/+1
2021-01-21refs: switch peel_ref() to peel_iterated_oid()Jeff King1-1/+1
2021-01-18commit-graph: return 64-bit generation numberAbhishek Kumar1-1/+1
2020-12-17Merge branch 'tb/partial-clone-filters-fix'Junio C Hamano1-1/+1
2020-12-14Merge branch 'jk/multi-line-indent-style-fix'Junio C Hamano1-1/+1
2020-12-14Merge branch 'jk/check-config-parsing-error-in-upload-pack'Junio C Hamano1-1/+2
2020-12-08Merge branch 'js/trace2-session-id'Junio C Hamano1-1/+22
2020-12-03upload-pack.c: don't free allowed_filters util pointersTaylor Blau1-1/+1
2020-12-03style: indent multiline "if" conditions to alignJeff King1-1/+1
2020-12-03upload-pack: propagate return value from object filter config callbackJeff King1-1/+2
2020-12-03Merge branch 'jk/stop-pack-objects-when-fetch-is-killed'Junio C Hamano1-0/+1
2020-12-01upload-pack: kill pack-objects helper on signal or exitJeff King1-0/+1
2020-11-11upload-pack, serve: log received client session IDJosh Steadmon1-0/+8
2020-11-11upload-pack: advertise session ID in v0 capabilitiesJosh Steadmon1-1/+14
2020-10-30upload-pack: allow stateless client EOF just prior to havesDaniel Duvall1-1/+12
2020-08-24Merge branch 'rs/more-buffered-io'Junio C Hamano1-12/+10
2020-08-19Merge branch 'rs/upload-pack-sigchain-fix'Junio C Hamano1-1/+0
2020-08-17upload-pack: use buffered I/O to talk to rev-listRené Scharfe1-12/+10
2020-08-11Merge branch 'tb/upload-pack-filters'Junio C Hamano1-0/+104
2020-08-11upload-pack: remove superfluous sigchain_pop() callRené Scharfe1-1/+0
2020-08-10Merge branch 'jk/strvec'Junio C Hamano1-27/+26
2020-08-03upload-pack.c: introduce 'uploadpackfilter.tree.maxDepth'Taylor Blau1-0/+18
2020-08-03upload-pack.c: allow banning certain object filter(s)Taylor Blau1-0/+86
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: fix indentation in renamed callsJeff King1-2/+1
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-24/+24
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-07-16upload-pack: do not lazy-fetch "have" objectsJonathan Tan1-2/+4
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-1/+2
2020-06-25Merge branch 'jt/cdn-offload'Junio C Hamano1-39/+117
2020-06-17upload-pack: fix a sparse '0 as NULL pointer' warningRamsay Jones1-1/+1
2020-06-11upload-pack: refactor common code into do_got_oid()Christian Couder1-30/+13
2020-06-11upload-pack: move oldest_have to upload_pack_dataChristian Couder1-7/+6
2020-06-11upload-pack: pass upload_pack_data to got_oid()Christian Couder1-4/+4
2020-06-11upload-pack: pass upload_pack_data to ok_to_give_up()Christian Couder1-7/+6
2020-06-11upload-pack: pass upload_pack_data to send_acks()Christian Couder1-10/+7
2020-06-11upload-pack: pass upload_pack_data to process_haves()Christian Couder1-6/+5
2020-06-11upload-pack: change allow_unadvertised_object_request to an enumChristian Couder1-36/+32
2020-06-11upload-pack: move allow_unadvertised_object_request to upload_pack_dataChristian Couder1-23/+32
2020-06-11upload-pack: move extra_edge_obj to upload_pack_dataChristian Couder1-4/+7
2020-06-11upload-pack: move shallow_nr to upload_pack_dataChristian Couder1-12/+12
2020-06-11upload-pack: pass upload_pack_data to send_unshallow()Christian Couder1-9/+7
2020-06-11upload-pack: pass upload_pack_data to deepen_by_rev_list()Christian Couder1-8/+6
2020-06-11upload-pack: pass upload_pack_data to deepen()Christian Couder1-14/+11
2020-06-11upload-pack: pass upload_pack_data to send_shallow_list()Christian Couder1-36/+21
2020-06-10upload-pack: send part of packfile response as uriJonathan Tan1-6/+71
2020-06-10upload-pack: refactor reading of pack-objects outJonathan Tan1-35/+49
2020-06-04upload-pack: move pack_objects_hook to upload_pack_dataChristian Couder1-4/+7
2020-06-04upload-pack: move allow_sideband_all to upload_pack_dataChristian Couder1-4/+3
2020-06-04upload-pack: move allow_ref_in_want to upload_pack_dataChristian Couder1-4/+3
2020-06-04upload-pack: move allow_filter to upload_pack_dataChristian Couder1-5/+6
2020-06-04upload-pack: move keepalive to upload_pack_dataChristian Couder1-7/+14
2020-06-04upload-pack: pass upload_pack_data to upload_pack_config()Christian Couder1-5/+5
2020-06-04upload-pack: change multi_ack to an enumChristian Couder1-6/+10
2020-06-04upload-pack: move multi_ack to upload_pack_dataChristian Couder1-10/+10
2020-06-04upload-pack: move filter_capability_requested to upload_pack_dataChristian Couder1-3/+3
2020-06-04upload-pack: move use_sideband to upload_pack_dataChristian Couder1-15/+19
2020-06-04upload-pack: move static vars to upload_pack_dataChristian Couder1-14/+14
2020-06-04upload-pack: annotate upload_pack_data fieldsChristian Couder1-5/+10
2020-06-04upload-pack: actually use some upload_pack_data bitfieldsJeff King1-15/+14
2020-05-27remote: advertise the object-format capability on the server sidebrian m. carlson1-1/+2
2020-05-18upload-pack: use upload_pack_data fields in receive_needs()Christian Couder1-15/+13
2020-05-18upload-pack: pass upload_pack_data to create_pack_file()Christian Couder1-15/+9
2020-05-18upload-pack: remove static variable 'stateless_rpc'Christian Couder1-6/+7
2020-05-18upload-pack: pass upload_pack_data to check_non_tip()Christian Couder1-7/+6
2020-05-18upload-pack: pass upload_pack_data to send_ref()Christian Couder1-3/+4
2020-05-18upload-pack: move symref to upload_pack_dataChristian Couder1-5/+7
2020-05-18upload-pack: use upload_pack_data writer in receive_needs()Christian Couder1-5/+3
2020-05-18upload-pack: pass upload_pack_data to receive_needs()Christian Couder1-9/+8
2020-05-18upload-pack: pass upload_pack_data to get_common_commits()Christian Couder1-13/+13
2020-05-18upload-pack: use 'struct upload_pack_data' in upload_pack()Christian Couder1-15/+17
2020-05-18upload-pack: move 'struct upload_pack_data' aroundChristian Couder1-56/+56
2020-05-18upload-pack: move {want,have}_obj to upload_pack_dataChristian Couder1-23/+25
2020-05-18upload-pack: remove unused 'wants' from upload_pack_dataChristian Couder1-4/+0
2020-05-13Merge branch 'cc/upload-pack-v2-fetch-fix'Junio C Hamano1-12/+22
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-0/+1
2020-05-08upload-pack: clear filter_options for each v2 fetch commandChristian Couder1-12/+22
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-0/+1
2020-03-27upload-pack: handle unexpected delim packetsJeff King1-1/+4
2020-02-10config: split repo scope to local and worktreeMatthew Rogers1-1/+2
2019-10-07Merge branch 'jk/disable-commit-graph-during-upload-pack'Junio C Hamano1-1/+1
2019-09-18Merge branch 'md/list-objects-filter-combo'Junio C Hamano1-6/+7
2019-09-12upload-pack: disable commit graph more gently for shallow traversalJeff King1-1/+1
2019-07-09Merge branch 'jk/oidhash'Junio C Hamano1-4/+4
2019-07-09Merge branch 'ds/close-object-store'Junio C Hamano1-1/+1
2019-06-28list-objects-filter-options: allow mult. --filterMatthew DeVore1-0/+2
2019-06-28list-objects-filter-options: make filter_spec a string_listMatthew DeVore1-6/+5
2019-06-20object: convert lookup_object() to use object_idJeff King1-1/+1
2019-06-20object: convert lookup_unknown_object() to use object_idJeff King1-1/+1
2019-06-20upload-pack: rename a "sha1" variable to "oid"Jeff King1-3/+3
2019-06-17Merge branch 'jk/HEAD-symref-in-xfer-namespaces'Junio C Hamano1-2/+2
2019-06-12commit-graph: use raw_object_store when closingDerrick Stolee1-1/+1
2019-05-28upload-pack: strip namespace from symref dataJeff King1-2/+2
2019-05-19Merge branch 'en/unicode-in-refnames'Junio C Hamano1-0/+2
2019-05-09Merge branch 'nd/sha1-name-c-wo-the-repository'Junio C Hamano1-1/+1
2019-04-26Honor core.precomposeUnicode in more placesElijah Newren1-0/+2
2019-04-15upload-pack: send ERR packet for non-tip objectsJeff King1-3/+8
2019-04-08refs.c: remove the_repo from expand_ref()Nguyễn Thái Ngọc Duy1-1/+1
2019-02-05Merge branch 'jt/fetch-v2-sideband'Junio C Hamano1-71/+101
2019-02-05Merge branch 'js/filter-options-should-use-plain-int'Junio C Hamano1-2/+5
2019-01-17tests: define GIT_TEST_SIDEBAND_ALLJonathan Tan1-5/+8
2019-01-17{fetch,upload}-pack: sideband v2 fetch responseJonathan Tan1-0/+16
2019-01-15filter-options: expand scaled numbersJosh Steadmon1-2/+5
2019-01-15pkt-line: introduce struct packet_writerJonathan Tan1-52/+60
2019-01-10upload-pack: teach deepen-relative in protocol v2Jonathan Tan1-2/+15
2019-01-02pack-protocol.txt: accept error packets in any contextMasaya Suzuki1-1/+3
2019-01-02Use packet_reader instead of packet_read_lineMasaya Suzuki1-18/+20
2018-11-06Merge branch 'jt/upload-pack-v2-fix-shallow'Junio C Hamano1-63/+90
2018-10-30Merge branch 'jk/uploadpack-packobjectshook-fix'Junio C Hamano1-3/+6
2018-10-30Merge branch 'bc/hash-transition-part-15'Junio C Hamano1-6/+7
2018-10-26upload-pack: fix broken if/else chain in config callbackJeff King1-3/+6
2018-10-19upload-pack: clear flags before each v2 requestJonathan Tan1-4/+9
2018-10-19upload-pack: make want_obj not globalJonathan Tan1-50/+66
2018-10-19upload-pack: make have_obj not globalJonathan Tan1-26/+32
2018-10-16Merge branch 'ds/commit-graph-with-grafts'Junio C Hamano1-0/+2
2018-10-15upload-pack: express constants in terms of the_hash_algobrian m. carlson1-6/+7
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-53/+5
2018-08-21commit-graph: close_commit_graph before shallow walkDerrick Stolee1-0/+2
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-8/+9
2018-07-24Merge branch 'jt/connectivity-check-after-unshallow'Junio C Hamano1-0/+66
2018-07-20commit-reach: make can_all_from_reach... linearDerrick Stolee1-1/+4
2018-07-20commit-reach: move can_all_from_reach_with_flagsDerrick Stolee1-69/+1
2018-07-20upload-pack: generalize commit date cutoffDerrick Stolee1-6/+10
2018-07-20upload-pack: refactor ok_to_give_up()Derrick Stolee1-11/+23
2018-07-20upload-pack: make reachable() more genericDerrick Stolee1-8/+9
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-6/+9
2018-06-29tag: add repository argument to deref_tagStefan Beller1-1/+1