aboutsummaryrefslogtreecommitdiffstats
path: root/remote.h
AgeCommit message (Expand)AuthorFilesLines
2024-01-02Merge branch 'jc/retire-cas-opt-name-constant'Junio C Hamano1-2/+0
2023-12-19remote.h: retire CAS_OPT_NAMEJunio C Hamano1-2/+0
2023-12-12builtin/clone: skip reading HEAD when retrieving remotePatrick Steinhardt1-0/+1
2023-07-13wt-status: don't show divergence advice when committingAlex Henrie1-1/+2
2023-06-21hash-ll, hashmap: move oidhash() to hash-llElijah Newren1-0/+1
2023-03-30Merge branch 'sg/parse-options-h-users'Junio C Hamano1-1/+1
2023-03-20treewide: remove unnecessary inclusions of parse-options.h from headersSZEDER Gábor1-1/+1
2023-02-23treewide: remove unnecessary cache.h includesElijah Newren1-1/+0
2022-12-25clone: request the 'bundle-uri' command when availableÆvar Arnfjörð Bjarmason1-0/+5
2022-08-03Merge branch 'rs/mergesort'Junio C Hamano1-2/+0
2022-07-17fetch-pack: use DEFINE_LIST_SORTRené Scharfe1-2/+0
2022-06-17remote: handle negative refspecs in git remote showJacob Keller1-0/+6
2022-05-16remote: allow relative_url() to return an absolute urlDerrick Stolee1-0/+1
2022-05-16remote: move relative_url()Derrick Stolee1-0/+31
2021-11-18remote: die if branch is not found in repositoryGlen Choo1-3/+2
2021-11-18remote: use remote_state parameter internallyGlen Choo1-0/+2
2021-11-18remote: move static variables into per-repository structGlen Choo1-0/+34
2021-02-17Merge branch 'jt/clone-unborn-head'Junio C Hamano1-1/+3
2021-02-05connect, transport: encapsulate arg in structJonathan Tan1-1/+3
2021-01-12fetch: extract writing to FETCH_HEADPatrick Steinhardt1-1/+1
2020-10-27Merge branch 'sk/force-if-includes'Junio C Hamano1-1/+11
2020-10-05Merge branch 'jk/refspecs-negative'Junio C Hamano1-1/+8
2020-10-03push: add reflog check for "--force-if-includes"Srinidhi Kaushik1-1/+11
2020-09-30refspec: add support for negative refspecsJacob Keller1-1/+8
2020-09-25Merge branch 'jx/proc-receive-hook'Junio C Hamano1-0/+9
2020-08-27New capability "report-status-v2" for git-pushJiang Xin1-0/+1
2020-08-27receive-pack: add new proc-receive hookJiang Xin1-0/+8
2020-07-28argv-array: rename to strvecJeff King1-2/+2
2020-05-24stateless-connect: send response end packetDenton Liu1-1/+2
2020-03-03remote: drop "explicit" parameter from remote_ref_for_branch()Jeff King1-2/+1
2019-11-18remote: move doc to remote.h and refspec.hHeba Waly1-3/+54
2019-10-07hashmap_entry: remove first member requirement from docsEric Wong1-1/+1
2019-05-13Merge branch 'dl/no-extern-in-func-decl'Junio C Hamano1-12/+12
2019-05-09Merge branch 'dr/ref-filter-push-track-fix'Junio C Hamano1-1/+2
2019-05-05*.[ch]: manually align parameter listsDenton Liu1-6/+6
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-6/+6
2019-04-18ref-filter: use correct branch for %(push:track)Damien Robert1-1/+2
2019-04-15remote.c: make singular free_ref() publicJeff King1-1/+3
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-1/+0
2018-08-15Add missing includes and forward declarationsElijah Newren1-0/+1
2018-07-20commit-reach: move ref_newer from remote.cDerrick Stolee1-1/+0
2018-06-28fetch-pack: implement ref-in-wantBrandon Williams1-0/+1
2018-05-30Merge branch 'bw/ref-prefix-for-configured-refspec'Junio C Hamano1-39/+11
2018-05-18remote: convert check_push_refs to take a struct refspecBrandon Williams1-1/+1
2018-05-18remote: convert match_push_refs to take a struct refspecBrandon Williams1-1/+1
2018-05-18remote: convert query_refspecs to take a struct refspecBrandon Williams1-1/+1
2018-05-18remote: convert apply_refspecs to take a struct refspecBrandon Williams1-2/+1
2018-05-18remote: convert get_stale_heads to take a struct refspecBrandon Williams1-1/+1
2018-05-18remote: remove add_prune_tags_to_fetch_refspecBrandon Williams1-2/+0
2018-05-18remote: convert fetch refspecs to struct refspecBrandon Williams1-4/+1
2018-05-18remote: convert push refspecs to struct refspecBrandon Williams1-4/+2
2018-05-18refspec: rename struct refspec to struct refspec_itemBrandon Williams1-8/+8
2018-05-18refspec: move refspec parsing logic into its own fileBrandon Williams1-20/+0
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-2/+9
2018-04-24ls-remote: send server options when using protocol v2Brandon Williams1-1/+3
2018-04-24Merge branch 'bw/protocol-v2' into HEADJunio C Hamano1-2/+9
2018-03-15connect: request remote refs using v2Brandon Williams1-0/+6
2018-03-14connect: discover protocol version outside of get_remote_headsBrandon Williams1-2/+3
2018-03-08Merge branch 'jh/status-no-ahead-behind'Junio C Hamano1-2/+10
2018-02-09fetch: add a --prune-tags option and fetch.pruneTags configÆvar Arnfjörð Bjarmason1-0/+3
2018-02-09remote: add a macro for "refs/tags/*:refs/tags/*"Ævar Arnfjörð Bjarmason1-0/+2
2018-01-24status: support --no-ahead-behind in long formatJeff Hostetler1-1/+2
2018-01-24status: add --[no-]ahead-behind to status and commit for V2 format.Jeff Hostetler1-2/+3
2018-01-24stat_tracking_info: return +1 when branches not equalJeff Hostetler1-1/+7
2017-11-08for-each-ref: let upstream/push report the remote ref nameJ Wyman1-0/+2
2017-07-17remote: convert struct push_cas to struct object_idbrian m. carlson1-1/+1
2017-04-19Merge branch 'bw/push-options-recursively-to-submodules'Junio C Hamano1-0/+1
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-3/+3
2017-04-16Merge branch 'jc/unused-symbols'Junio C Hamano1-1/+0
2017-04-11remote: expose parse_push_refspec functionBrandon Williams1-0/+1
2017-03-31remote.[ch]: parse_push_cas_option() can be staticJunio C Hamano1-1/+0
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-3/+3
2017-03-14Merge branch 'mm/fetch-show-error-message-on-unadvertised-object'Junio C Hamano1-2/+7
2017-03-02fetch-pack: add specific error for fetching an unadvertised objectMatt McCutchen1-2/+7
2017-01-19remote rename: more carefully determine whether a remote is configuredJohannes Schindelin1-2/+2
2016-09-08Merge branch 'jk/push-force-with-lease-creation' into maintJunio C Hamano1-1/+0
2016-08-10Merge branch 'jk/push-force-with-lease-creation'Junio C Hamano1-1/+0
2016-07-26push: allow pushing new branches with --force-with-leaseJohn Keeping1-1/+0
2016-02-16remote: simplify remote_is_configured()Thomas Gummerer1-1/+2
2016-01-26http: allow selection of proxy authentication methodKnut Franke1-0/+1
2015-11-20ref_newer: convert to use struct object_idbrian m. carlson1-1/+1
2015-11-20Convert struct ref to use object_id.brian m. carlson1-3/+3
2015-05-22remote.c: add branch_get_pushJeff King1-0/+10
2015-05-22remote.c: return upstream name from stat_tracking_infoJeff King1-1/+2
2015-05-21remote.c: report specific errors from branch_get_upstreamJeff King1-1/+5
2015-05-21remote.c: introduce branch_get_upstream helperJeff King1-0/+7
2015-05-21remote.c: provide per-branch pushremote nameJeff King1-0/+2
2015-05-21remote.c: hoist branch.*.remote lookup out of remote_get_1Jeff King1-0/+1
2015-05-21remote.c: drop "remote" pointer from "struct branch"Jeff King1-1/+0
2015-02-11Merge branch 'jc/unused-symbols'Junio C Hamano1-1/+0
2015-01-15remote.c: make clear_cas_option() staticJunio C Hamano1-1/+0
2015-01-07send-pack.c: add --atomic command line argumentRonnie Sahlberg1-1/+2
2014-07-30use a hashmap to make remotes fasterPatrick Reynolds1-0/+3
2014-03-05push: detect local refspec errors earlyJeff King1-0/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-5/+4
2013-12-27Merge branch 'jc/push-refmap'Junio C Hamano1-0/+2
2013-12-10fetch: support fetching from a shallow repositoryNguyễn Thái Ngọc Duy1-0/+1
2013-12-10connect.c: teach get_remote_heads to parse "shallow" linesNguyễn Thái Ngọc Duy1-1/+2
2013-12-10remote.h: replace struct extra_have_objects with struct sha1_arrayNguyễn Thái Ngọc Duy1-5/+2
2013-12-04push: use remote.$name.push as a refmapJunio C Hamano1-0/+2
2013-10-30ref_remove_duplicates(): simplify loop logicMichael Haggerty1-2/+6
2013-09-09Merge branch 'jc/push-cas'Junio C Hamano1-0/+83
2013-07-22push --force-with-lease: tie it all togetherJunio C Hamano1-0/+1
2013-07-22push --force-with-lease: implement logic to populate old_sha1_expect[]Junio C Hamano1-0/+6
2013-07-22remote.c: add command line option parser for "--force-with-lease"Junio C Hamano1-0/+22
2013-07-18fetch: make --prune configurableMichael Schubert1-0/+1
2013-07-08cache.h: move remote/connect API out of itJunio C Hamano1-0/+54
2013-04-02remote.c: introduce a way to have different remotes for fetch/pushRamkumar Ramachandra1-0/+1
2013-03-25Merge branch 'jc/push-follow-tag'Junio C Hamano1-1/+2
2013-03-05push: --follow-tagsJunio C Hamano1-1/+2
2013-02-07fetch: fetch objects by their exact SHA-1 object namesJunio C Hamano1-0/+1
2012-05-22add sorting infrastructure for list refsJeff King1-0/+2
2012-02-22push: add '--prune' optionFelipe Contreras1-1/+2
2011-10-26Merge branch 'cn/fetch-prune'Junio C Hamano1-1/+1
2011-10-15fetch: honor the user-provided refspecs when pruning refsCarlos Martín Nieto1-1/+1
2011-09-12rename "match_refs()" to "match_push_refs()"Junio C Hamano1-2/+2
2011-06-07make copy_ref globally availableJeff King1-1/+1
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-01-09refactor ref status logic for pushingTay Ray Chuan1-0/+2
2009-12-26Merge branch 'sr/vcs-helper'Junio C Hamano1-0/+7
2009-11-17Allow helper to map private ref names into normal namesDaniel Barkalow1-0/+5
2009-11-17Add a config option for remotes to specify a foreign vcsDaniel Barkalow1-0/+2
2009-11-10remote: refactor some logic into get_stale_heads()Jay Soffian1-0/+3
2009-06-20Merge branch 'mg/pushurl'Junio C Hamano1-0/+4
2009-06-09Allow push and fetch urls to be differentMichael J Gruber1-0/+4
2009-06-01match_refs: search ref list tail internallyClemens Buchacher1-1/+1
2009-04-07remote: New function remote_is_configured()Finn Arne Gangstad1-0/+1
2009-02-27remote: let guess_remote_head() optionally return all matchesJay Soffian1-6/+8
2009-02-26remote: simplify guess_remote_head()Jay Soffian1-7/+6
2009-02-26move locate_head() to remote.cJay Soffian1-0/+9
2009-02-26move duplicated ref_newer() to remote.cJay Soffian1-0/+1
2009-02-26move duplicated get_local_heads() to remote.cJay Soffian1-0/+1
2008-11-11remote: add a new 'origin' variable to the structMiklos Vajna1-0/+7
2008-10-18make alloc_ref_from_str() the new alloc_ref()René Scharfe1-3/+1
2008-09-25remote.c: make free_ref(), parse_push_refspec() and free_refspecs() static.Nanako Shiraishi1-2/+0
2008-08-22remote.c: add a function for deleting a refspec array and use it (twice)Brandon Casey1-0/+1
2008-07-02Refactor "tracking statistics" code used by "git checkout"Junio C Hamano1-0/+4
2008-05-25Merge branch 'db/clone-in-c'Junio C Hamano1-0/+2
2008-05-23Merge branch 'pb/push'Junio C Hamano1-0/+1
2008-05-11alloc_ref_from_str(): factor out a common pattern of alloc_ref from stringKrzysztof Kowalczyk1-0/+2
2008-05-08Merge branch 'db/learn-HEAD'Junio C Hamano1-0/+2
2008-05-04Have a constant extern refspec for "--tags"Daniel Barkalow1-0/+2
2008-05-04add special "matching refs" refspecPaolo Bonzini1-0/+1
2008-04-26Make ls-remote http://... list HEAD, like for git://...Daniel Barkalow1-0/+2
2008-04-20Add a remote.*.mirror configuration optionPaolo Bonzini1-0/+1
2008-04-18git-remote: reject adding remotes with invalid namesJonas Fonseca1-0/+1
2008-03-22remote.c: Fix overtight refspec validationJunio C Hamano1-1/+2
2008-03-01Make git-remote a builtinJohannes Schindelin1-0/+1
2008-02-19Use ALLOC_GROW in remote.{c,h}Daniel Barkalow1-0/+4
2007-12-03Add remote.<name>.proxySam Vilain1-0/+5
2007-11-09Teach send-pack a mirror modeAndy Whitcroft1-0/+7
2007-11-02Miscellaneous const changes and utilitiesDaniel Barkalow1-3/+7
2007-10-28git-fetch: do not fail when remote branch disappearsJunio C Hamano1-1/+4
2007-10-15Remove duplicate ref matches in fetchDaniel Barkalow1-0/+5
2007-09-19Rename remote.uri to remote.url within remote handling internalsShawn O. Pearce1-3/+3
2007-09-19Correct handling of branch.$name.merge in builtin-fetchShawn O. Pearce1-2/+1
2007-09-19Add matching and parsing for fetch-side refspec rulesDaniel Barkalow1-0/+24
2007-09-19Report information on branches from remote.hDaniel Barkalow1-0/+18
2007-09-19Add uploadpack configuration info to remote.Daniel Barkalow1-0/+1
2007-07-11Add for_each_remote() function, and extend remote_find_tracking()Johannes Schindelin1-1/+4
2007-07-09Add allocation and freeing functions for struct refsDaniel Barkalow1-0/+7
2007-05-20Add handlers for fetch-side configuration of remotes.Daniel Barkalow1-0/+11
2007-05-20Move refspec parser from connect.c and cache.h to remote.{c,h}Daniel Barkalow1-0/+12
2007-05-20Move remote parsing into a library file out of builtin-push.Daniel Barkalow1-0/+18