aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fetch.c
AgeCommit message (Expand)AuthorFilesLines
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-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
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-07-18Merge branch 'ao/config-from-gitmodules'Junio C Hamano1-14/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-3/+4
2018-07-03fetch-pack: support negotiation tip whitelistJonathan Tan1-0/+43
2018-07-03fetch-pack: write shallow, then check connectivityJonathan Tan1-5/+10
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-3/+6
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-3/+4
2018-06-28fetch-pack: put shallow info in output parameterBrandon Williams1-4/+24
2018-06-28fetch: refactor to make function args narrowerBrandon Williams1-26/+26
2018-06-28fetch: refactor fetch_refs into two functionsBrandon Williams1-5/+18
2018-06-28fetch: refactor the population of peer ref OIDsBrandon Williams1-18/+18
2018-06-26submodule-config: add helper function to get 'fetch' config from .gitmodulesAntonio Ospite1-14/+1
2018-06-01Merge branch 'nd/use-opt-int-set-f'Junio C Hamano1-3/+3
2018-05-30Merge branch 'bw/ref-prefix-for-configured-refspec'Junio C Hamano1-78/+61
2018-05-24Use OPT_SET_INT_F() for cmdline option specificationNguyễn Thái Ngọc Duy1-3/+3
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-1/+1
2018-05-18path.c: migrate global git_path_* to take a repository argumentStefan Beller1-2/+2
2018-05-18shallow: add repository argument to is_repository_shallowStefan Beller1-1/+1
2018-05-18fetch: generate ref-prefixes when using a configured refspecBrandon Williams1-1/+9
2018-05-18refspec: consolidate ref-prefix generation logicBrandon Williams1-12/+1
2018-05-18remote: convert get_stale_heads to take a struct refspecBrandon Williams1-1/+1
2018-05-18fetch: convert prune_refs to take a struct refspecBrandon Williams1-6/+5
2018-05-18fetch: convert get_ref_map to take a struct refspecBrandon Williams1-23/+20
2018-05-18fetch: convert do_fetch to take a struct refspecBrandon Williams1-5/+5
2018-05-18fetch: convert refmap to use struct refspecBrandon Williams1-10/+7
2018-05-18fetch: convert fetch_one to use struct refspecBrandon Williams1-27/+19
2018-05-18remote: remove add_prune_tags_to_fetch_refspecBrandon Williams1-1/+1
2018-05-18remote: convert fetch refspecs to struct refspecBrandon Williams1-10/+10
2018-05-18refspec: rename struct refspec to struct refspec_itemBrandon Williams1-6/+6
2018-05-18refspec: move refspec parsing logic into its own fileBrandon Williams1-0/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-2/+19
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+1
2018-04-24fetch: send server options when using protocol v2Brandon Williams1-0/+5
2018-04-24Merge branch 'bw/protocol-v2' into HEADJunio C Hamano1-2/+19
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-1/+1
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-5/+5
2018-03-26object-store: close all packs upon clearing the object storeStefan Beller1-1/+1
2018-03-15fetch: pass ref prefixes when fetchingBrandon Williams1-1/+18
2018-03-15transport: convert transport_get_remote_refs to take a list of ref prefixesBrandon Williams1-2/+2
2018-03-14Merge branch 'nd/parseopt-completion'Junio C Hamano1-1/+1
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-1/+1
2018-03-14strbuf: convert strbuf_add_unique_abbrev to use struct object_idbrian m. carlson1-4/+4
2018-03-06Merge branch 'ab/fetch-prune'Junio C Hamano1-8/+46
2018-02-13Merge branch 'jh/partial-clone'Junio C Hamano1-6/+77
2018-02-09fetch: make the --prune-tags work with <url>Ævar Arnfjörð Bjarmason1-3/+14
2018-02-09fetch: add a --prune-tags option and fetch.pruneTags configÆvar Arnfjörð Bjarmason1-3/+29
2018-02-09fetch: stop accessing "remote" variable indirectlyÆvar Arnfjörð Bjarmason1-2/+2
2018-02-09fetch: trivially refactor assignment to ref_nrÆvar Arnfjörð Bjarmason1-1/+1
2018-02-09fetch: don't redundantly NULL something calloc() gave usÆvar Arnfjörð Bjarmason1-1/+0
2018-02-09parse-options: let OPT__FORCE take optional flags argumentNguyễn Thái Ngọc Duy1-1/+1
2017-12-28Merge branch 'jt/transport-hide-vtable'Junio C Hamano1-3/+0
2017-12-14clone, fetch: remove redundant transport checkJonathan Tan1-3/+0
2017-12-12submodule: convert get_next_submodule to not rely on the_indexBrandon Williams1-1/+3
2017-12-08fetch: inherit filter-spec from partial cloneJeff Hostetler1-3/+53
2017-12-08fetch: support filtersJeff Hostetler1-2/+21
2017-12-08fetch: refactor calculation of remote listJonathan Tan1-6/+8
2017-10-16Convert check_connected to use struct object_idbrian m. carlson1-2/+2
2017-10-16refs: update ref transactions to use struct object_idbrian m. carlson1-2/+2
2017-08-26Merge branch 'jt/packmigrate'Junio C Hamano1-0/+1
2017-08-23pack: move pack-closing functionsJonathan Tan1-0/+1
2017-08-03submodule: remove gitmodules_configBrandon Williams1-4/+0
2017-08-03fetch: don't overlay config with submodule-configBrandon Williams1-1/+0
2017-08-02submodule: remove fetch.recursesubmodules from submodule-config parsingBrandon Williams1-1/+7
2017-08-02submodule: remove submodule.fetchjobs from submodule-config parsingBrandon Williams1-1/+17
2017-07-13Merge branch 'sb/pull-rebase-submodule'Junio C Hamano1-25/+11
2017-07-05Merge branch 'jt/unify-object-info'Junio C Hamano1-4/+6
2017-06-27builtin/fetch cleanup: always set default value for submodule recursingStefan Beller1-3/+2
2017-06-26sha1_file: refactor has_sha1_file_with_flagsJonathan Tan1-4/+6
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-23builtin/fetch: parse recurse-submodules-default at default options parsingStefan Beller1-9/+10
2017-06-23builtin/fetch: factor submodule recurse parsing out to submodule configStefan Beller1-16/+2
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'sb/submodule-blanket-recursive'Junio C Hamano1-0/+7
2017-06-01builtin/fetch.c: respect 'submodule.recurse' optionStefan Beller1-0/+7
2017-05-23ref_store: take a `msg` parameter when deleting referencesMichael Haggerty1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-3/+4
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-3/+3
2017-03-30fetch: use heap buffer to format reflogJeff King1-2/+4
2017-03-28submodule: convert check_for_new_submodule_commits to object_idbrian m. carlson1-3/+3
2017-01-31Merge branch 'js/remote-rename-with-half-configured-remote'Junio C Hamano1-1/+1
2017-01-19remote rename: more carefully determine whether a remote is configuredJohannes Schindelin1-1/+1
2017-01-10Merge branch 'jt/fetch-no-redundant-tag-fetch-map'Junio C Hamano1-3/+0
2016-12-05clone,fetch: explain the shallow-clone option a little more clearlyAlex Henrie1-1/+1
2016-11-11fetch: do not redundantly calculate tag refmapJonathan Tan1-3/+0
2016-10-28Merge branch 'jk/fetch-quick-tag-following' into maintJunio C Hamano1-4/+7
2016-10-27Merge branch 'jc/abbrev-auto'Junio C Hamano1-16/+21
2016-10-27Merge branch 'lt/abbrev-auto'Junio C Hamano1-0/+3
2016-10-26Merge branch 'jk/fetch-quick-tag-following'Junio C Hamano1-4/+7
2016-10-21transport: allow summary-width to be computed dynamicallyJunio C Hamano1-2/+2
2016-10-21fetch: pass summary_width down the callchainJunio C Hamano1-16/+21
2016-10-14fetch: use "quick" has_sha1_file for tag followingJeff King1-4/+7
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-7/+43
2016-10-03abbrev: add FALLBACK_DEFAULT_ABBREV to prepare for auto sizingJunio C Hamano1-0/+3
2016-08-03Merge branch 'jk/push-progress'Junio C Hamano1-2/+4
2016-07-25Merge branch 'mh/ref-iterators'Junio C Hamano1-1/+1
2016-07-20check_everything_connected: use a struct with named optionsJeff King1-2/+4
2016-07-19Merge branch 'nd/fetch-ref-summary'Junio C Hamano1-40/+157
2016-07-11Merge branch 'km/fetch-do-not-free-remote-name' into maintJunio C Hamano1-4/+2
2016-07-06Merge branch 'km/fetch-do-not-free-remote-name'Junio C Hamano1-4/+2
2016-07-06fetch: reduce duplicate in ref update status lines with placeholderNguyễn Thái Ngọc Duy1-1/+76
2016-07-06fetch: align all "remote -> local" outputNguyễn Thái Ngọc Duy1-2/+45
2016-06-27fetch: change flag code for displaying tag update and deleted refNguyễn Thái Ngọc Duy1-2/+2
2016-06-27fetch: refactor ref update status formatting codeNguyễn Thái Ngọc Duy1-39/+38
2016-06-20delete_refs(): add a flags argumentMichael Haggerty1-1/+1
2016-06-14builtin/fetch.c: don't free remote->name after fetchKeith McGuigan1-4/+2
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-3/+10
2016-06-13fetch: define shallow boundary with --shallow-sinceNguyễn Thái Ngọc Duy1-6/+23
2016-05-17Merge branch 'nd/error-errno'Junio C Hamano1-2/+2
2016-05-09builtin/fetch.c: use error_errno()Nguyễn Thái Ngọc Duy1-2/+2
2016-04-06Merge branch 'sb/submodule-parallel-update'Junio C Hamano1-1/+1
2016-03-01fetching submodules: respect `submodule.fetchJobs` config optionStefan Beller1-1/+1
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-1/+1
2016-02-26Merge branch 'tg/git-remote'Junio C Hamano1-3/+2
2016-02-24Merge branch 'ew/force-ipv4'Junio C Hamano1-0/+6
2016-02-22use st_add and st_mult for allocation size computationJeff King1-1/+1
2016-02-16remote: simplify remote_is_configured()Thomas Gummerer1-3/+2
2016-02-12connect & http: support -4 and -6 switches for remote operationsEric Wong1-0/+6
2016-02-05Merge branch 'js/close-packs-before-gc' into maintJunio C Hamano1-0/+2
2016-02-05Merge branch 'js/fopen-harder' into maintJunio C Hamano1-1/+1
2016-01-26Merge branch 'js/close-packs-before-gc'Junio C Hamano1-0/+2
2016-01-20Merge branch 'js/fopen-harder'Junio C Hamano1-1/+1
2016-01-13fetch: release pack files before garbage-collectingJohannes Schindelin1-0/+2
2016-01-11Handle more file writes correctly in shared reposJohannes Schindelin1-1/+1
2015-12-16submodules: allow parallel fetching, add tests and documentationStefan Beller1-1/+5
2015-11-20Remove get_object_hash.brian m. carlson1-2/+2
2015-11-20Add several uses of get_object_hash.brian m. carlson1-2/+2
2015-11-20Convert struct ref to use object_id.brian m. carlson1-25/+25
2015-10-05use alloc_ref rather than hand-allocating "struct ref"Jeff King1-2/+1
2015-10-05transport: use strbufs for status table "quickref" stringsJeff King1-10/+12
2015-09-25fetch: replace static buffer with xstrfmtJeff King1-5/+2
2015-08-31Merge branch 'hv/submodule-config'Junio C Hamano1-0/+1
2015-08-19Merge branch 'jk/git-path'Junio C Hamano1-2/+2
2015-08-19submodule: allow erroneous values for the fetchRecurseSubmodules optionHeiko Voigt1-0/+1
2015-08-17Merge branch 'mh/get-remote-group-fix'Junio C Hamano1-8/+6
2015-08-10memoize common git-path "constant" filesJeff King1-2/+2
2015-07-28get_remote_group(): use skip_prefix()Michael Haggerty1-2/+1
2015-07-28get_remote_group(): eliminate superfluous call to strcspn()Michael Haggerty1-2/+2
2015-07-28get_remote_group(): rename local variable "space" to "wordlen"Michael Haggerty1-5/+5
2015-07-28get_remote_group(): handle remotes with single-character namesMichael Haggerty1-2/+1
2015-06-22prune_refs(): use delete_refs()Michael Haggerty1-8/+17
2015-05-25builtin/fetch: rewrite to take an object_id argumentMichael Haggerty1-12/+11
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-2/+6
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-2/+3