aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fetch.c
AgeCommit message (Expand)AuthorFilesLines
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
2015-03-05Merge branch 'mh/refs-have-new'Junio C Hamano1-2/+4
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-2/+4
2015-02-13do not include the same header twiceДилян Палаузов1-1/+0
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-2/+3
2014-11-06Merge branch 'jk/fetch-reflog-df-conflict'Junio C Hamano1-1/+1
2014-11-04fetch: load all default config at startupJeff King1-1/+1
2014-10-15fetch.c: change s_update_ref to use a ref transactionRonnie Sahlberg1-10/+24
2014-08-18fetch: silence git-gc if --quiet is givenNguyễn Thái Ngọc Duy1-0/+2
2014-08-18fetch: convert argv_gc_auto to struct argv_arrayNguyễn Thái Ngọc Duy1-4/+4
2014-07-09Merge branch 'jk/xstrfmt'Junio C Hamano1-7/+2
2014-06-19use xstrfmt to replace xmalloc + strcpy/strcatJeff King1-7/+2
2014-06-05fetch: allow explicit --refmap to override configurationJunio C Hamano1-3/+32
2014-02-27Merge branch 'ep/varscope'Junio C Hamano1-1/+1
2014-01-31builtin/fetch.c: reduce scope of variableElia Pinto1-1/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-1/+14
2014-01-03fetch --prune: Run prune before fetchingTom Miller1-5/+5
2014-01-03fetch --prune: always print header urlTom Miller1-5/+27
2013-12-17Merge branch 'nd/transport-positive-depth-only'Junio C Hamano1-0/+4
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-9/+9
2013-12-10fetch: add --update-shallow to accept refs that update .git/shallowNguyễn Thái Ngọc Duy1-1/+5
2013-12-10fetch: support fetching from a shallow repositoryNguyễn Thái Ngọc Duy1-0/+9
2013-12-06clone,fetch: catch non positive --depth option valueNguyễn Thái Ngọc Duy1-0/+4
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-9/+9
2013-10-30ref_remove_duplicates(): simplify loop logicMichael Haggerty1-3/+1
2013-10-30fetch, remote: properly convey --no-prune options to subprocessesMichael Haggerty1-2/+2
2013-10-30fetch --prune: prune only based on explicit refspecsMichael Haggerty1-30/+9
2013-10-30fetch --tags: fetch tags *in addition to* other stuffMichael Haggerty1-24/+35
2013-10-30fetch: only opportunistically update references based on command lineMichael Haggerty1-12/+32
2013-10-30builtin/fetch.c: reorder function definitionsMichael Haggerty1-101/+97
2013-10-24get_ref_map(): rename local variablesMichael Haggerty1-6/+6
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+2
2013-09-09Merge branch 'jc/transport-do-not-use-connect-twice-in-fetch'Junio C Hamano1-33/+56
2013-09-09Merge branch 'ms/fetch-prune-configuration'Junio C Hamano1-3/+32
2013-08-30refs: report ref type from lock_any_ref_for_updateBrad King1-1/+2
2013-08-28builtin/fetch.c: Fix a sparse warningRamsay Jones1-1/+1
2013-08-07fetch: work around "transport-take-over" hackJunio C Hamano1-0/+13
2013-08-07fetch: refactor code that fetches leftover tagsJunio C Hamano1-5/+9
2013-08-07fetch: refactor code that prepares a transportJunio C Hamano1-20/+26
2013-08-07fetch: rename file-scope global "transport" to "gtransport"Junio C Hamano1-11/+11
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-12/+12
2013-07-18fetch: make --prune configurableMichael Schubert1-5/+34