aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/clone.c
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge branch 'ps/refs-without-the-repository'Junio C Hamano1-15/+21
7 daysSync with Git 2.45.1Junio C Hamano1-6/+45
13 dayscocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-15/+21
2024-04-29Sync with 2.44.1Johannes Schindelin1-6/+45
2024-04-19Sync with 2.43.4Johannes Schindelin1-6/+45
2024-04-19Sync with 2.42.2Johannes Schindelin1-6/+45
2024-04-19Sync with 2.41.1Johannes Schindelin1-6/+45
2024-04-19Sync with 2.40.2Johannes Schindelin1-6/+45
2024-04-19Sync with 2.39.4Johannes Schindelin1-6/+45
2024-04-19Merge branch 'ownership-checks-in-local-clones'Johannes Schindelin1-5/+34
2024-04-19clone: prevent hooks from running during a cloneJohannes Schindelin1-1/+11
2024-04-18builtin/clone: stop using `the_index`Patrick Steinhardt1-4/+3
2024-04-17builtin/clone: refuse local clones of unsafe repositoriesPatrick Steinhardt1-0/+14
2024-04-17builtin/clone: abort when hardlinked source and target file differPatrick Steinhardt1-1/+20
2024-04-17builtin/clone: stop resolving symlinks when copying filesPatrick Steinhardt1-5/+1
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-1/+1
2024-03-15Merge branch 'as/option-names-in-messages'Junio C Hamano1-1/+1
2024-03-07Merge branch 'ps/remote-helper-repo-initialization-fix'Junio C Hamano1-0/+46
2024-03-07Merge branch 'js/merge-tree-3-trees'Junio C Hamano1-1/+2
2024-03-05builtin/clone.c: trivial fix of messageAlexander Shopov1-1/+1
2024-02-27builtin/clone: allow remote helpers to detect repoPatrick Steinhardt1-0/+46
2024-02-23Always check `parse_tree*()`'s return valueJohannes Schindelin1-1/+2
2024-02-08Merge branch 'en/header-cleanup' into maint-2.43Junio C Hamano1-1/+0
2024-02-08Merge branch 'rs/i18n-cannot-be-used-together' into maint-2.43Junio C Hamano1-1/+3
2024-01-16Merge branch 'ps/refstorage-extension'Junio C Hamano1-3/+14
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-1/+0
2024-01-02builtin/clone: introduce `--ref-format=` value flagPatrick Steinhardt1-1/+11
2024-01-02setup: introduce "extensions.refStorage" extensionPatrick Steinhardt1-1/+1
2024-01-02setup: start tracking ref storage formatPatrick Steinhardt1-2/+3
2023-12-27Merge branch 'ps/clone-into-reftable-repository'Junio C Hamano1-30/+35
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-20Merge branch 'ps/clone-into-reftable-repository' into ps/refstorage-extensionJunio C Hamano1-30/+35
2023-12-20Merge branch 'jk/implicit-true'Junio C Hamano1-0/+2
2023-12-12builtin/clone: create the refdb with the correct object formatPatrick Steinhardt1-1/+8
2023-12-12builtin/clone: skip reading HEAD when retrieving remotePatrick Steinhardt1-1/+1
2023-12-12builtin/clone: set up sparse checkout laterPatrick Steinhardt1-3/+3
2023-12-12builtin/clone: fix bundle URIs with mismatching object formatsPatrick Steinhardt1-25/+23
2023-12-09config: handle NULL value when parsing non-boolsJeff King1-0/+2
2023-11-27i18n: factorize even more 'incompatible options' messagesRené Scharfe1-1/+3
2023-10-02tree-walk: init_tree_desc take an oid to get the hash algorithmEric W. Biederman1-1/+1
2023-07-27Merge branch 'jc/transport-parseopt-fix'Junio C Hamano1-4/+1
2023-07-18parse-options: introduce OPT_IPVERSION()Junio C Hamano1-4/+1
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-4/+7
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-4/+7
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21init-db, clone: change unnecessary global into passed parameterElijah Newren1-1/+2
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano1-0/+2
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+3
2023-04-24pkt-line.h: move declarations for pkt-line.c functions from cache.hElijah Newren1-0/+1
2023-04-24copy.h: move declarations for copy.c functions from cache.hElijah Newren1-0/+1
2023-04-20Merge branch 'gc/better-error-when-local-clone-fails-with-symlink'Junio C Hamano1-1/+11
2023-04-11Merge branch 'jc/clone-object-format-from-void'Junio C Hamano1-5/+6
2023-04-11treewide: remove double forward declaration of read_in_fullElijah Newren1-0/+1
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on advice.hElijah Newren1-0/+1
2023-04-11clone: error specifically with --local and symlinked objectsGlen Choo1-1/+11
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+4
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-3/+3
2023-04-05clone: propagate object-format when cloning from voidJunio C Hamano1-5/+6
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-3/+3
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-3/+3
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-22Merge branch 'ab/various-leak-fixes'Junio C Hamano1-2/+3
2023-02-15Merge branch 'ds/bundle-uri-5'Junio C Hamano1-1/+5
2023-02-13Sync with Git 2.39.2Junio C Hamano1-4/+4
2023-02-06clone: use free() instead of UNLEAK()Ævar Arnfjörð Bjarmason1-2/+3
2023-02-06Sync with 2.38.4Johannes Schindelin1-4/+4
2023-02-06Sync with 2.37.6Johannes Schindelin1-4/+4
2023-02-06Sync with 2.36.5Johannes Schindelin1-4/+4
2023-02-06Sync with 2.35.7Johannes Schindelin1-4/+4
2023-02-06Sync with 2.34.7Johannes Schindelin1-4/+4
2023-02-06Sync with 2.33.7Johannes Schindelin1-4/+4
2023-02-06Sync with 2.32.6Johannes Schindelin1-4/+4
2023-02-06Sync with 2.31.7Johannes Schindelin1-4/+4
2023-02-06Sync with 2.30.8Johannes Schindelin1-4/+4
2023-01-31clone: set fetch.bundleURI if appropriateDerrick Stolee1-1/+5
2023-01-24clone: delay picking a transport until after get_repo_path()Taylor Blau1-4/+4
2023-01-02Merge branch 'ds/bundle-uri-4'Junio C Hamano1-0/+21
2022-12-25clone: unbundle the advertised bundlesDerrick Stolee1-5/+20
2022-12-25clone: request the 'bundle-uri' command when availableÆvar Arnfjörð Bjarmason1-0/+6
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-2/+2
2022-10-30replace and remove run_command_v_opt()René Scharfe1-2/+6
2022-10-30use child_process members "args" and "env" directlyRené Scharfe1-16/+17
2022-10-25Merge branch 'jk/clone-allow-bare-and-o-together' into maint-2.38Junio C Hamano1-3/+0
2022-10-17Sync with v2.38.1Junio C Hamano1-3/+5
2022-10-10Merge branch 'jk/clone-allow-bare-and-o-together'Junio C Hamano1-3/+0
2022-10-06Sync with 2.37.4Taylor Blau1-3/+5
2022-10-06Sync with 2.36.3Taylor Blau1-3/+5
2022-10-06Sync with 2.35.5Taylor Blau1-3/+5
2022-10-06Sync with 2.34.5Taylor Blau1-3/+5
2022-10-06Sync with 2.33.5Taylor Blau1-3/+5
2022-10-06Sync with 2.32.4Taylor Blau1-3/+5
2022-10-06Sync with 2.31.5Taylor Blau1-3/+5
2022-10-06Sync with 2.30.6Taylor Blau1-3/+5
2022-10-01builtin/clone.c: disallow `--local` clones with symlinksTaylor Blau1-3/+5
2022-09-22clone: allow "--bare" with "-o"Jeff King1-3/+0
2022-09-19Merge branch 'jk/list-objects-filter-cleanup'Junio C Hamano1-1/+1
2022-09-12list-objects-filter: add and use initializersJeff King1-1/+1
2022-08-24clone: warn on failure to repo_init()Derrick Stolee1-2/+3
2022-08-10clone: --bundle-uri cannot be combined with --depthDerrick Stolee1-0/+3
2022-08-10clone: add --bundle-uri optionDerrick Stolee1-0/+15
2022-08-05Merge branch 'jk/clone-unborn-confusion' into maintJunio C Hamano1-36/+45
2022-07-19Merge branch 'jk/clone-unborn-confusion'Junio C Hamano1-36/+45
2022-07-11clone: move unborn head creation to update_head()Jeff King1-12/+15
2022-07-07clone: use remote branch if it matches default HEADJeff King1-3/+14
2022-07-07clone: propagate empty remote HEAD even with other branchesJeff King1-22/+17
2022-07-07clone: drop extra newline from warning messageJeff King1-1/+1
2022-07-01clone: fix memory leak in wanted_peer_refs()Ævar Arnfjörð Bjarmason1-0/+1
2022-05-20Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano1-2/+2
2022-05-02Merge branch 'ep/maint-equals-null-cocci' for maint-2.35Junio C Hamano1-2/+2
2022-05-02tree-wide: apply equals-null.cocciJunio C Hamano1-2/+2
2022-04-30clone: plug a miniscule leakJunio C Hamano1-1/+3
2022-03-21Merge branch 'ds/partial-bundles'Junio C Hamano1-0/+13
2022-03-13Merge branch 'gc/parse-tree-indirect-errors'Junio C Hamano1-0/+2
2022-03-09clone: fail gracefully when cloning filtered bundleDerrick Stolee1-0/+13
2022-03-01checkout, clone: die if tree cannot be parsedGlen Choo1-0/+2
2022-02-25Merge branch 'js/apply-partial-clone-filters-recursively'Junio C Hamano1-2/+34
2022-02-18Merge branch 'ab/release-transport-ls-refs-options'Junio C Hamano1-7/+6
2022-02-09clone, submodule: pass partial clone filters to submodulesJosh Steadmon1-2/+34
2022-02-09Merge branch 'jt/clone-not-quite-empty'Junio C Hamano1-6/+6
2022-02-09Merge branch 'ab/config-based-hooks-2'Junio C Hamano1-1/+2
2022-02-06ls-remote & transport API: release "struct transport_ls_refs_options"Ævar Arnfjörð Bjarmason1-7/+6
2022-01-26clone: support unusual remote ref configurationsJonathan Tan1-6/+6
2022-01-12Merge branch 'ps/lockfile-cleanup-fix'Junio C Hamano1-1/+1
2022-01-10Merge branch 'ja/i18n-similar-messages'Junio C Hamano1-3/+3
2022-01-07hooks: convert non-worktree 'post-checkout' hook to hook libraryEmily Shaffer1-1/+2
2022-01-07fetch: fix deadlock when cleaning up lockfiles in async signalsPatrick Steinhardt1-1/+1
2022-01-05i18n: turn even more messages into "cannot be used together" onesJean-Noël Avila1-2/+2
2022-01-05i18n: turn "options are incompatible" into "cannot be used together"Jean-Noël Avila1-1/+1
2021-12-15clone: avoid using deprecated `sparse-checkout init`Elijah Newren1-1/+1
2021-10-23clone: fix a memory leak of the "git_dir" variableÆvar Arnfjörð Bjarmason1-1/+3
2021-10-13Merge branch 'en/removing-untracked-fixes'Junio C Hamano1-0/+1
2021-10-03Merge branch 'jk/clone-unborn-head-in-bare'Junio C Hamano1-16/+17
2021-09-27Remove ignored files by default when they are in the wayElijah Newren1-2/+1
2021-09-27unpack-trees: introduce preserve_ignored to unpack_trees_optionsElijah Newren1-0/+2
2021-09-20Merge branch 'ar/submodule-add-more'Junio C Hamano1-116/+2
2021-09-20Merge branch 'ps/fetch-optim'Junio C Hamano1-5/+3
2021-09-20clone: handle unborn branch in bare reposJeff King1-16/+17
2021-09-10Merge branch 'ab/retire-advice-config'Junio C Hamano1-1/+1
2021-09-01connected: refactor iterator to return next object ID directlyPatrick Steinhardt1-5/+3
2021-08-30clone: set submodule.recurse=true if submodule.stickyRecursiveClone enabledMahi Kolla1-0/+5
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-1/+1
2021-08-10dir: libify and export helper functions from clone.cAtharva Raykar1-116/+2
2021-06-14Merge branch 'jk/clone-clean-upon-transport-error'Junio C Hamano1-7/+4
2021-05-19clone: clean up directory after transport_fetch_refs() failureJeff King1-7/+4
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+1
2021-04-08Merge branch 'll/clone-reject-shallow'Junio C Hamano1-0/+21
2021-04-01builtin/clone.c: add --reject-shallow optionLi Linchao1-0/+21
2021-03-14clone: free or UNLEAK further pointers when finishedAndrzej Hunt1-4/+10
2021-02-17Merge branch 'jt/clone-unborn-head'Junio C Hamano1-9/+25
2021-02-05clone: respect remote unborn HEADJonathan Tan1-2/+14
2021-02-05connect, transport: encapsulate arg in structJonathan Tan1-7/+11
2020-12-18Merge branch 'js/init-defaultbranch-advice'Junio C Hamano1-1/+1
2020-12-13get_default_branch_name(): prepare for showing some adviceJohannes Schindelin1-1/+1
2020-12-03builtin/clone.c: don't ignore transport_fetch_refs() errorsTaylor Blau1-4/+11
2020-10-27Merge branch 'sb/clone-origin'Junio C Hamano1-15/+56
2020-09-30clone: allow configurable default for `-o`/`--origin`Sean Barag1-7/+19
2020-09-30clone: read new remote name from remote_name instead of option_originSean Barag1-15/+16
2020-09-30clone: validate --origin option before useSean Barag1-0/+3
2020-09-30clone: use more conventional config/option layeringSean Barag1-1/+26
2020-09-22builtin/clone: avoid failure with GIT_DEFAULT_HASHbrian m. carlson1-1/+1
2020-09-06refspec: add and use refspec_appendf()René Scharfe1-5/+2
2020-08-10Merge branch 'jk/strvec'Junio C Hamano1-19/+19
2020-07-30strvec: rename struct fieldsJeff King1-2/+2
2020-07-30Merge branch 'bw/fail-cloning-into-non-empty' into masterJunio C Hamano1-2/+10
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-17/+17
2020-07-10git clone: don't clone into non-empty directoryBen Wijen1-2/+10
2020-07-06Merge branch 'js/default-branch-name'Junio C Hamano1-4/+9
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-0/+9
2020-06-24clone: use configured default branch name when appropriateJohannes Schindelin1-3/+7
2020-06-24init: allow specifying the initial branch name for the new repositoryJohannes Schindelin1-1/+2
2020-06-17Merge branch 'js/reflog-anonymize-for-clone-and-fetch'Junio C Hamano1-5/+8
2020-06-04clone/fetch: anonymize URLs in the reflogJohannes Schindelin1-5/+8
2020-05-27builtin/clone: initialize hash algorithm properlybrian m. carlson1-0/+9
2020-04-28Merge branch 'jc/log-no-mailmap'Junio C Hamano1-1/+1
2020-04-22Merge branch 'jk/use-quick-lookup-in-clone-for-tag-following'Junio C Hamano1-1/+3
2020-04-22Merge branch 'jt/connectivity-check-optim-in-partial-clone'Junio C Hamano1-5/+2
2020-04-01clone: use "quick" lookup while following tagsJeff King1-1/+3
2020-03-29connected: always use partial clone optimizationJonathan Tan1-5/+2
2020-03-26Merge branch 'bc/filter-process'Junio C Hamano1-1/+4
2020-03-26Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano1-1/+1
2020-03-16clone: reorder --recursive/--recurse-submodulesJunio C Hamano1-1/+1
2020-03-16builtin/clone: compute checkout metadata for clonesbrian m. carlson1-1/+4
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy1-1/+5
2020-03-05Merge branch 'es/recursive-single-branch-clone'Junio C Hamano1-0/+5
2020-02-25clone: pass --single-branch during --recurse-submodulesEmily Shaffer1-0/+5
2020-02-24builtin/init-db: allow specifying hash algorithm on command linebrian m. carlson1-1/+1
2020-02-14Merge branch 'ds/sparse-checkout-harden'Junio C Hamano1-1/+1
2020-01-30connected: verify promisor-ness of partial cloneJonathan Tan1-2/+3
2020-01-24clone: fix --sparse option with URLsDerrick Stolee1-1/+1
2019-12-25Merge branch 'ds/sparse-cone'Junio C Hamano1-0/+27
2019-12-09Sync with Git 2.24.1Junio C Hamano1-1/+1
2019-12-06Sync with 2.23.1Johannes Schindelin1-1/+1