aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fetch.c
AgeCommit message (Expand)AuthorFilesLines
2022-07-18Merge branch 'ab/cocci-unused'Junio C Hamano1-2/+1
2022-07-11Merge branch 'ds/branch-checked-out'Junio C Hamano1-29/+17
2022-07-06cocci: add and apply a rule to find "unused" strbufsÆvar Arnfjörð Bjarmason1-2/+1
2022-06-21fetch: stop passing around unused worktrees variableJeff King1-15/+9
2022-06-15fetch: use new branch_checked_out() and add testsDerrick Stolee1-14/+8
2022-05-25Merge branch 'jc/avoid-redundant-submodule-fetch'Junio C Hamano1-1/+15
2022-05-18fetch: do not run a redundant fetch from submoduleJunio C Hamano1-1/+15
2022-05-16fetch: limit shared symref check only for local branchesOrgad Shaneh1-0/+1
2022-04-04Merge branch 'rc/fetch-refetch'Junio C Hamano1-2/+32
2022-03-28fetch: after refetch, encourage auto gc repackingRobert Coup1-1/+18
2022-03-28fetch: add --refetch optionRobert Coup1-1/+14
2022-03-25Merge branch 'gc/recursive-fetch-with-unused-submodules'Junio C Hamano1-7/+7
2022-03-16Merge branch 'ps/fetch-mirror-optim'Junio C Hamano1-15/+27
2022-03-16fetch: fetch unpopulated, changed submodulesGlen Choo1-7/+7
2022-03-13Merge branch 'ps/fetch-atomic'Junio C Hamano1-61/+129
2022-03-01fetch: avoid lookup of commits when not appending to FETCH_HEADPatrick Steinhardt1-15/+27
2022-03-01Merge branch 'ps/fetch-atomic' into ps/fetch-mirror-optimJunio C Hamano1-61/+129
2022-02-25Merge branch 'ja/i18n-common-messages'Junio C Hamano1-2/+2
2022-02-23Merge branch 'ps/fetch-optim-with-commit-graph'Junio C Hamano1-2/+6
2022-02-18Merge branch 'js/short-help-outside-repo-fix'Junio C Hamano1-2/+4
2022-02-18Merge branch 'ab/release-transport-ls-refs-options'Junio C Hamano1-1/+1
2022-02-17fetch: make `--atomic` flag cover pruning of refsPatrick Steinhardt1-8/+22
2022-02-17fetch: make `--atomic` flag cover backfilling of tagsPatrick Steinhardt1-26/+66
2022-02-17fetch: report errors when backfilling tags failsPatrick Steinhardt1-8/+18
2022-02-17fetch: control lifecycle of FETCH_HEAD in a single placePatrick Steinhardt1-16/+19
2022-02-17fetch: backfill tags before setting upstreamPatrick Steinhardt1-17/+18
2022-02-11Merge branch 'tg/fetch-prune-exit-code-fix'Junio C Hamano1-4/+6
2022-02-11Merge branch 'rc/negotiate-only-typofix'Junio C Hamano1-1/+1
2022-02-10fetch: skip computing output width when not printing anythingPatrick Steinhardt1-2/+6
2022-02-09Merge branch 'gc/fetch-negotiate-only-early-return'Junio C Hamano1-3/+38
2022-02-08checkout/fetch/pull/pack-objects: allow `-h` outside a repositoryJohannes Schindelin1-2/+4
2022-02-06ls-remote & transport API: release "struct transport_ls_refs_options"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-04i18n: factorize "invalid value" messagesJean-Noël Avila1-2/+2
2022-01-31fetch --prune: exit with error if pruning failsThomas Gummerer1-4/+6
2022-01-28fetch: fix negotiate-only error messageRobert Coup1-1/+1
2022-01-20fetch: help translators by reusing the same message templateJunio C Hamano1-1/+2
2022-01-18fetch --negotiate-only: do not update submodulesGlen Choo1-1/+23
2022-01-18fetch: skip tasks related to fetching objectsGlen Choo1-0/+11
2022-01-18fetch: use goto cleanup in cmd_fetch()Glen Choo1-3/+4
2022-01-12Merge branch 'ps/lockfile-cleanup-fix'Junio C Hamano1-6/+11
2022-01-10Merge branch 'ja/i18n-similar-messages'Junio C Hamano1-4/+4
2022-01-10Merge branch 'ds/fetch-pull-with-sparse-index'Junio C Hamano1-0/+2
2022-01-07fetch: fix deadlock when cleaning up lockfiles in async signalsPatrick Steinhardt1-6/+11
2022-01-05i18n: standardize "cannot open" and "cannot read"Jean-Noël Avila1-2/+2
2022-01-05i18n: refactor "foo and bar are mutually exclusive"Jean-Noël Avila1-2/+2
2021-12-22Merge branch 'ab/fetch-set-upstream-while-detached'Junio C Hamano1-0/+10
2021-12-22fetch/pull: use the sparse indexDerrick Stolee1-0/+2
2021-12-07pull, fetch: fix segfault in --set-upstream optionÆvar Arnfjörð Bjarmason1-0/+10
2021-12-01fetch: protect branches checked out in all worktreesAnders Kaseorg1-35/+40
2021-12-01fetch: lowercase error messagesAnders Kaseorg1-24/+26
2021-09-20Merge branch 'js/run-command-close-packs'Junio C Hamano1-2/+0
2021-09-20Merge branch 'ps/fetch-optim'Junio C Hamano1-34/+40
2021-09-10Merge branch 'ab/retire-advice-config'Junio C Hamano1-1/+1
2021-09-10Merge branch 'ps/fetch-omit-formatting-under-quiet'Junio C Hamano1-5/+12
2021-09-09run_auto_maintenance(): implicitly close the object storeJohannes Schindelin1-2/+0
2021-09-01fetch: avoid second connectivity check if we already have all objectsPatrick Steinhardt1-4/+3
2021-09-01fetch: merge fetching and consuming refsPatrick Steinhardt1-21/+9
2021-09-01fetch: refactor fetch refs to be more extendablePatrick Steinhardt1-7/+17
2021-09-01connected: refactor iterator to return next object ID directlyPatrick Steinhardt1-4/+3
2021-09-01fetch: avoid unpacking headers in object existence checkPatrick Steinhardt1-3/+1
2021-09-01fetch: speed up lookup of want refs via commit-graphPatrick Steinhardt1-6/+18
2021-08-30fetch: skip formatting updated refs with `--quiet`Patrick Steinhardt1-5/+12
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-1/+1
2021-08-24Merge branch 'jt/push-negotiation-fixes'Junio C Hamano1-1/+3
2021-07-16Merge branch 'ab/fetch-negotiate-segv-fix'Junio C Hamano1-0/+3
2021-07-15fetch: die on invalid --negotiation-tip hashJonathan Tan1-1/+3
2021-07-08fetch: fix segfault in --negotiate-only without --negotiation-tip=*Ævar Arnfjörð Bjarmason1-0/+3
2021-05-20fetch: improve grammar of "shallow roots" messageAlex Henrie1-1/+1
2021-05-16Merge branch 'jt/push-negotiation'Junio C Hamano1-1/+26
2021-05-05fetch: teach independent negotiation (no packfile)Jonathan Tan1-1/+26
2021-04-16fetch: add --prefetch optionDerrick Stolee1-1/+58
2021-02-17Merge branch 'jt/clone-unborn-head'Junio C Hamano1-7/+11
2021-02-05connect, transport: encapsulate arg in structJonathan Tan1-7/+11
2021-01-12fetch: implement support for atomic reference updatesPatrick Steinhardt1-5/+41
2021-01-12fetch: allow passing a transaction to `s_update_ref()`Patrick Steinhardt1-20/+31
2021-01-12fetch: refactor `s_update_ref` to use common exit pathPatrick Steinhardt1-19/+26
2021-01-12fetch: use strbuf to format FETCH_HEAD updatesPatrick Steinhardt1-5/+11
2021-01-12fetch: extract writing to FETCH_HEADPatrick Steinhardt1-29/+79
2020-11-02hashmap: provide deallocation function namesElijah Newren1-3/+3
2020-10-05Merge branch 'jk/refspecs-negative'Junio C Hamano1-0/+10
2020-10-05Merge branch 'jt/keep-partial-clone-filter-upon-lazy-fetch'Junio C Hamano1-1/+1
2020-09-30refspec: add support for negative refspecsJacob Keller1-0/+10
2020-09-28fetch: do not override partial clone filterJonathan Tan1-1/+1
2020-09-25Merge branch 'ds/maintenance-part-1'Junio C Hamano1-2/+4
2020-09-22Merge branch 'ar/fetch-ipversion-in-all'Junio C Hamano1-1/+4
2020-09-22Merge branch 'os/fetch-submodule-optim'Junio C Hamano1-1/+3
2020-09-17maintenance: replace run_auto_gc()Derrick Stolee1-2/+4
2020-09-15fetch: pass --ipv4 and --ipv6 options to sub-fetchesAlex Riesen1-0/+4
2020-09-06refspec: add and use refspec_appendf()René Scharfe1-5/+2
2020-09-06fetch: do not look for submodule changes in unchanged refsOrgad Shaneh1-1/+3
2020-09-03Merge branch 'jt/lazy-fetch'Junio C Hamano1-9/+41
2020-09-02fetch: no FETCH_HEAD display if --no-write-fetch-headJonathan Tan1-1/+7
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-1/+1
2020-08-18fetch: only populate existing_refs if neededJonathan Tan1-4/+9
2020-08-18fetch: avoid reading submodule config until neededJonathan Tan1-2/+8
2020-08-18fetch: allow refspecs specified through stdinJonathan Tan1-2/+17
2020-08-18fetch: optionally allow disabling FETCH_HEAD updateJunio C Hamano1-3/+12
2020-08-14config: fix leaks from git_config_get_string_const()Jeff King1-1/+1
2020-07-30strvec: rename struct fieldsJeff King1-3/+3
2020-07-28strvec: fix indentation in renamed callsJeff King1-1/+1
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-27/+27
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-06-29Merge branch 'xl/upgrade-repo-format'Junio C Hamano1-3/+0
2020-06-17Merge branch 'js/reflog-anonymize-for-clone-and-fetch'Junio C Hamano1-2/+7
2020-06-05fetch: allow adding a filter after initial cloneXin Li1-3/+0
2020-06-04clone/fetch: anonymize URLs in the reflogJohannes Schindelin1-2/+7
2020-05-13Merge branch 'jc/auto-gc-quiet'Junio C Hamano1-8/+2
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-0/+1
2020-05-07auto-gc: extract a reusable helper from "git fetch"Junio C Hamano1-8/+2
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-0/+1
2020-04-28Use OPT_CALLBACK and OPT_CALLBACK_FDenton Liu1-6/+6
2020-04-22Merge branch 'jt/connectivity-check-optim-in-partial-clone'Junio C Hamano1-7/+0
2020-03-29connected: always use partial clone optimizationJonathan Tan1-7/+0
2020-03-02Merge branch 'ds/partial-clone-fixes'Junio C Hamano1-5/+5
2020-02-22partial-clone: avoid fetching when looking for objectsDerrick Stolee1-5/+5
2020-02-14Merge branch 'tb/commit-graph-object-dir'Junio C Hamano1-1/+1
2020-02-04commit-graph.h: store an odb in 'struct write_commit_graph_context'Taylor Blau1-1/+1
2020-01-30fetch: forgo full connectivity check if --filterJonathan Tan1-1/+10
2020-01-06Merge branch 'ds/commit-graph-set-size-mult'Junio C Hamano1-3/+1
2020-01-02commit-graph: prefer default size_mult when given zeroDerrick Stolee1-3/+1
2019-12-06Merge branch 'rs/use-skip-prefix-more'Junio C Hamano1-9/+3
2019-12-01Merge branch 'jt/fetch-remove-lazy-fetch-plugging'Junio C Hamano1-3/+2
2019-12-01Merge branch 'en/doc-typofix'Junio C Hamano1-1/+1
2019-12-01Merge branch 'js/fetch-multi-lockfix'Junio C Hamano1-2/+8
2019-12-01Merge branch 'rt/fetch-message-fix'Junio C Hamano1-1/+1
2019-11-27fetch: use skip_prefix() instead of starts_with()René Scharfe1-9/+3
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-11-08fetch: remove fetch_if_missing=0Jonathan Tan1-3/+2
2019-11-06fetch: avoid locking issues between fetch.jobs/fetch.writeCommitGraphJohannes Schindelin1-1/+2
2019-11-06fetch: add the command-line option `--write-commit-graph`Johannes Schindelin1-1/+6
2019-11-02fetch.c: fix typo in a warning messageRalf Thielow1-1/+1
2019-10-24fetch: delay fetch_if_missing=0 until after configJonathan Tan1-2/+2
2019-10-15Merge branch 'js/trace2-fetch-push'Junio C Hamano1-7/+15
2019-10-15Merge branch 'ew/hashmap'Junio C Hamano1-14/+18
2019-10-15Merge branch 'js/fetch-jobs'Junio C Hamano1-17/+107
2019-10-07Merge branch 'ms/fetch-follow-tag-optim'Junio C Hamano1-8/+10
2019-10-07hashmap_entry: remove first member requirement from docsEric Wong1-1/+1
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong1-3/+3
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong1-4/+5
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong1-4/+7
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-06fetch: let --jobs=<n> parallelize --multiple, tooJohannes Schindelin1-17/+107
2019-10-03fetch: add trace2 instrumentationJosh Steadmon1-7/+15
2019-09-30Merge branch 'ds/commit-graph-on-fetch'Junio C Hamano1-0/+15
2019-09-18Merge branch 'md/list-objects-filter-combo'Junio C Hamano1-6/+3
2019-09-18Merge branch 'cc/multi-promisor'Junio C Hamano1-19/+10
2019-09-16fetch: use oidset to keep the want OIDs for faster lookupMasaya Suzuki1-8/+10
2019-09-03fetch: add fetch.writeCommitGraph config settingDerrick Stolee1-0/+15
2019-08-19pull, fetch: add --set-upstream optionCorentin BOMPARD1-1/+50
2019-08-06l10n: reformat some localized strings for v2.23.0Jean-Noël Avila1-4/+11
2019-07-09Merge branch 'ds/fetch-disable-force-notice'Junio C Hamano1-1/+33
2019-07-09Merge branch 'nd/fetch-multi-gc-once'Junio C Hamano1-6/+11
2019-07-09Merge branch 'ds/close-object-store'Junio C Hamano1-1/+1
2019-07-09Merge branch 'fc/fetch-with-import-fix'Junio C Hamano1-10/+18
2019-06-28list-objects-filter-options: make filter_spec a string_listMatthew DeVore1-6/+3
2019-06-25builtin/fetch: remove unique promisor remote limitationChristian Couder1-15/+5
2019-06-25promisor-remote: parse remote.*.partialclonefilterChristian Couder1-1/+1
2019-06-25Use promisor_remote_get_direct() and has_promisor_remote()Christian Couder1-5/+6
2019-06-21fetch: warn about forced updates in branch listingDerrick Stolee1-1/+24
2019-06-21fetch: add --[no-]show-forced-updates argumentDerrick Stolee1-1/+10
2019-06-19fetch: only run 'gc' once when fetching multiple remotesNguyễn Thái Ngọc Duy1-6/+11
2019-06-12packfile: rename close_all_packs to close_object_storeDerrick Stolee1-1/+1
2019-06-04fetch: fix regression with transport helpersFelipe Contreras1-2/+3
2019-06-04fetch: make the code more understandableFelipe Contreras1-7/+9
2019-06-04fetch: trivial cleanupFelipe Contreras1-3/+8
2019-03-20Merge branch 'jk/no-sigpipe-during-network-transport'Junio C Hamano1-0/+2
2019-03-05fetch: ignore SIGPIPE during network operationJeff King1-0/+2
2019-02-11Fix typos in translatable strings for v2.21.0Jean-Noël Avila1-1/+1
2019-02-06Merge branch 'jk/loose-object-cache-oid'Junio C Hamano1-4/+3
2019-02-05Merge branch 'nd/fetch-compact-update'Junio C Hamano1-2/+6
2019-02-05Merge branch 'js/filter-options-should-use-plain-int'Junio C Hamano1-1/+6
2019-01-29Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'Junio C Hamano1-9/+2
2019-01-29Merge branch 'cc/fetch-error-message-fix'Junio C Hamano1-2/+4
2019-01-27fetch: prefer suffix substitution in compact fetch.outputNguyễn Thái Ngọc Duy1-2/+6
2019-01-15filter-options: expand scaled numbersJosh Steadmon1-1/+6
2019-01-14fetch: fix extensions.partialclone name in error messageChristian Couder1-2/+4
2019-01-08convert has_sha1_file() callers to has_object_file()Jeff King1-4/+3
2018-12-09fetch: ensure submodule objects fetchedStefan Beller1-9/+2
2018-11-18Merge branch 'jk/unused-parameter-fixes'Junio C Hamano1-0/+2
2018-11-13Merge branch 'jc/war-on-string-list'Junio C Hamano1-46/+100
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksJeff King1-0/+2
2018-11-01fetch: replace string-list used as a look-up table with a hashmapJunio C Hamano1-46/+100
2018-10-19Merge branch 'jt/avoid-ls-refs'Junio C Hamano1-6/+26
2018-10-07fetch: do not list refs if fetching only hashesJonathan Tan1-6/+26
2018-09-21fetch: in partial clone, check presence of targetsJonathan Tan1-2/+13
2018-09-17Merge branch 'ab/fetch-tags-noclobber'Junio C Hamano1-7/+13
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-3/+3
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+1
2018-08-31fetch: stop clobbering existing tags without --forceÆvar Arnfjörð Bjarmason1-6/+12
2018-08-31fetch: change "branch" to "reference" in --force -h outputÆvar Arnfjörð Bjarmason1-1/+1
2018-08-29convert "hashcmp() == 0" to hasheq()Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-08-15Merge branch 'jt/connectivity-check-after-unshallow'Junio C Hamano1-24/+4
2018-08-15Merge branch 'jt/tag-following-with-proto-v2-fix'Junio C Hamano1-1/+1
2018-08-02Merge branch 'jt/fetch-nego-tip'Junio C Hamano1-0/+43
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-3/+6
2018-08-01fetch-pack: unify ref in and out paramJonathan Tan1-24/+4
2018-07-24Merge branch 'jt/connectivity-check-after-unshallow'Junio C Hamano1-56/+94
2018-07-24fetch: send "refs/tags/" prefix upon CLI refspecsJonathan Tan1-1/+1