aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fetch.c
AgeCommit message (Expand)AuthorFilesLines
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
2013-06-14Merge branch 'mh/reflife'Junio C Hamano1-12/+17
2013-06-02add_existing(): do not retain a reference to sha1Michael Haggerty1-3/+4
2013-06-02do_fetch(): clean up existing_refs before exitingMichael Haggerty1-5/+9
2013-06-02do_fetch(): reduce scope of peer_itemMichael Haggerty1-3/+3
2013-05-28fetch: make own copies of refnamesMichael Haggerty1-2/+2
2013-05-28fetch: don't try to update unfetched tracking refsJohn Keeping1-1/+1
2013-05-12fetch: opportunistically update tracking refsJeff King1-0/+16
2013-05-12refactor "ref->merge" flagJeff King1-22/+35
2013-02-01Merge branch 'jk/gc-auto-after-fetch'Junio C Hamano1-0/+5
2013-01-26Merge branch 'jk/maint-gc-auto-after-fetch' into jk/gc-auto-after-fetchJunio C Hamano1-0/+5
2013-01-26fetch: run gc --auto after fetchingJeff King1-0/+5
2013-01-11fetch: add --unshallow for turning shallow repo into complete oneNguyễn Thái Ngọc Duy1-1/+16
2012-09-24Merge branch 'dj/fetch-all-tags' into maintJunio C Hamano1-22/+29
2012-09-18Merge branch 'nd/fetch-status-alignment'Junio C Hamano1-8/+7
2012-09-14fetch: align per-ref summary report in UTF-8 localesNguyễn Thái Ngọc Duy1-8/+7
2012-09-14Merge branch 'dj/fetch-all-tags'Junio C Hamano1-0/+4
2012-09-11Merge branch 'jk/argv-array'Junio C Hamano1-22/+25
2012-09-11Merge branch 'jc/merge-bases'Junio C Hamano1-1/+1
2012-09-07fetch --all: pass --tags/--no-tags through to each remoteDan Johnson1-0/+4
2012-09-02submodule: use argv_array instead of hand-building arraysJens Lehmann1-1/+1
2012-09-02fetch: use argv_array instead of hand-building arraysJeff King1-22/+25
2012-08-27in_merge_bases(): support only one "other" commitJunio C Hamano1-1/+1
2012-08-20i18n: fetch: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-24/+24
2012-05-02Merge branch 'nd/i18n'Junio C Hamano1-2/+2
2012-04-26Merge branch 'mb/fetch-call-a-non-branch-a-ref'Junio C Hamano1-4/+13
2012-04-24i18n: make warn_dangling_symref() automatically append \nNguyễn Thái Ngọc Duy1-2/+2
2012-04-23Merge branch 'jl/maint-submodule-recurse-fetch'Junio C Hamano1-3/+3
2012-04-17fetch: describe new refs based on where it came fromMarc Branchaud1-3/+11
2012-04-17fetch: Give remote_ref to update_local_ref() as wellMarc Branchaud1-1/+2
2012-04-14submodules: recursive fetch also checks new tags for submodule commitsJens Lehmann1-3/+3
2012-02-20Merge branch 'cb/transfer-no-progress'Junio C Hamano1-2/+2
2012-02-13push/fetch/clone --no-progress suppresses progress outputClemens Buchacher1-2/+2
2012-01-29Merge branch 'nd/maint-refname-in-hierarchy-check'Junio C Hamano1-1/+1
2012-01-11Fix incorrect ref namespace checkNguyễn Thái Ngọc Duy1-1/+1
2012-01-03write first for-merge ref to FETCH_HEAD firstJoey Hess1-74/+86
2011-12-13Merge branch 'maint'Junio C Hamano1-38/+49
2011-12-13Merge branch 'maint-1.7.7' into maintJunio C Hamano1-38/+49
2011-12-13Merge branch 'maint-1.7.6' into maint-1.7.7Junio C Hamano1-38/+49
2011-12-13Merge branch 'jk/maint-fetch-status-table' into maint-1.7.6Junio C Hamano1-38/+49
2011-12-09fetch: create status table using strbufJeff King1-38/+49
2011-12-09Merge branch 'jc/pull-signed-tag'Junio C Hamano1-2/+1
2011-11-04fetch: do not store peeled tag object names in FETCH_HEADLinus Torvalds1-2/+1
2011-10-26Merge branch 'cn/fetch-prune'Junio C Hamano1-5/+28
2011-10-17Merge branch 'tc/fetch-leak'Junio C Hamano1-4/+9
2011-10-15fetch: treat --tags like refs/tags/*:refs/tags/* when pruningCarlos Martín Nieto1-2/+21
2011-10-15fetch: honor the user-provided refspecs when pruning refsCarlos Martín Nieto1-4/+8
2011-10-07fetch: plug two leaks on error exit in store_updated_refsTay Ray Chuan1-4/+9
2011-10-07fetch: free all the additional refspecsCarlos Martín Nieto1-1/+1
2011-10-05Merge branch 'jc/receive-verify'Junio C Hamano1-56/+14
2011-10-05Merge branch 'jc/fetch-verify'Junio C Hamano1-56/+63
2011-09-09check_everything_connected(): libifyJunio C Hamano1-65/+1
2011-09-09check_everything_connected(): refactor to use an iteratorJunio C Hamano1-14/+36
2011-09-09fetch: verify we have everything we need before updating our refJunio C Hamano1-56/+63
2011-09-09fetch: skip on-demand checking when no submodules are configuredJens Lehmann1-6/+9
2011-09-01fetch: verify we have everything we need before updating our refJunio C Hamano1-56/+63
2011-06-08fetch: do not leak a refspecJim Meyering1-2/+4
2011-04-04Merge branch 'jl/submodule-fetch-on-demand'Junio C Hamano1-12/+36
2011-04-01Merge branch 'ab/i18n-st'Junio C Hamano1-41/+41
2011-03-19Merge branch 'jk/trace-sifter'Junio C Hamano1-0/+2
2011-03-09i18n: git-fetch split up "(non-fast-forward)" messageÆvar Arnfjörð Bjarmason1-3/+3
2011-03-09i18n: git-fetch update_local_ref messagesÆvar Arnfjörð Bjarmason1-5/+5
2011-03-09i18n: git-fetch formatting messagesÆvar Arnfjörð Bjarmason1-10/+10
2011-03-09i18n: git-fetch basic messagesÆvar Arnfjörð Bjarmason1-23/+23
2011-03-09fetch/pull: Add the 'on-demand' value to the --recurse-submodules optionJens Lehmann1-3/+19
2011-03-09fetch/pull: recurse into submodules when necessaryJens Lehmann1-9/+17
2011-03-08add packet tracing debug codeJeff King1-0/+2
2011-02-15Make <identifier> lowercase as per CodingGuidelinesMichael J Gruber1-3/+3
2010-12-16Merge branch 'jl/fetch-submodule-recursive'Junio C Hamano1-14/+50
2010-11-24Merge branch 'rs/opt-help-text'Junio C Hamano1-2/+1
2010-11-15add OPT__FORCERené Scharfe1-2/+1
2010-11-12Add the 'fetch.recurseSubmodules' config settingJens Lehmann1-5/+16
2010-11-12fetch/pull: Add the --recurse-submodules optionJens Lehmann1-14/+39
2010-11-03Change incorrect "remote branch" to "remote tracking branch" in C codeMatthieu Moy1-1/+1
2010-11-03Change "tracking branch" to "remote-tracking branch"Matthieu Moy1-2/+2
2010-10-08Use parentheses and `...' where appropriateŠtěpán Němec1-1/+1
2010-09-09builtin/fetch.c: comment that branch->remote_name is usable when has_mergeBrandon Casey1-0/+3
2010-09-08Merge branch 'bc/maint-fetch-url-only'Junio C Hamano1-1/+3
2010-08-31Merge branch 'dj/fetch-tagopt'Junio C Hamano1-4/+6
2010-08-25builtin/fetch.c: ignore merge config when not fetching from branch's remoteBrandon Casey1-1/+3
2010-08-18Merge branch 'tf/string-list-init'Junio C Hamano1-4/+4
2010-08-18Merge branch 'ar/string-list-foreach'Junio C Hamano1-29/+13
2010-08-14fetch: allow command line --tags to override configDaniel Johnson1-4/+6
2010-07-27Clarify help message when no remote is specified in fetch/pull.Matthieu Moy1-1/+2
2010-07-05string_list: Add STRING_LIST_INIT macro and make use of it.Thiago Farina1-4/+4
2010-07-05Convert the users of for_each_string_list to for_each_string_list_item macroAlex Riesen1-29/+13
2010-06-30Merge branch 'jp/string-list-api-cleanup'Junio C Hamano1-9/+9
2010-06-27string_list: Fix argument order for string_list_appendJulian Phillips1-4/+4
2010-06-27string_list: Fix argument order for string_list_lookupJulian Phillips1-2/+2
2010-06-27string_list: Fix argument order for string_list_insertJulian Phillips1-2/+2
2010-06-27string_list: Fix argument order for for_each_string_listJulian Phillips1-1/+1
2010-05-31Rewrite dynamic structure initializations to runtime assignmentGary V. Vaughan1-2/+4
2010-04-09Merge branch 'maint'Junio C Hamano1-4/+4
2010-03-20Merge branch 'maint'Junio C Hamano1-6/+5
2010-03-15Merge branch 'tc/transport-verbosity'Junio C Hamano1-4/+3
2010-03-10Merge branch 'lt/deepen-builtin-source'Junio C Hamano1-0/+942
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+920