aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/clone.c
AgeCommit message (Expand)AuthorFilesLines
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
2019-12-06Sync with 2.22.2Johannes Schindelin1-1/+1
2019-12-06Sync with 2.21.1Johannes Schindelin1-1/+1
2019-12-06Sync with 2.20.2Johannes Schindelin1-1/+1
2019-12-06Sync with 2.19.3Johannes Schindelin1-1/+1
2019-12-06Sync with 2.18.2Johannes Schindelin1-1/+1
2019-12-06Sync with 2.17.3Johannes Schindelin1-1/+1
2019-12-06Sync with 2.16.6Johannes Schindelin1-1/+1
2019-12-06Sync with 2.15.4Johannes Schindelin1-1/+1
2019-12-06Sync with 2.14.6Johannes Schindelin1-1/+1
2019-12-04clone --recurse-submodules: prevent name squatting on WindowsJohannes Schindelin1-1/+1
2019-12-01Merge branch 'jt/fetch-remove-lazy-fetch-plugging'Junio C Hamano1-3/+0
2019-12-01Merge branch 'mr/clone-dir-exists-to-path-exists'Junio C Hamano1-4/+4
2019-11-22clone: add --sparse modeDerrick Stolee1-0/+27
2019-11-13clone: remove fetch_if_missing=0Jonathan Tan1-3/+0
2019-10-29clone: rename static function `dir_exists()`.Miriam Rubio1-4/+4
2019-10-11Merge branch 'rs/dedup-includes'Junio C Hamano1-1/+0
2019-10-11Merge branch 'bc/object-id-part17'Junio C Hamano1-1/+1
2019-10-04treewide: remove duplicate #include directivesRené Scharfe1-1/+0
2019-09-18Merge branch 'md/list-objects-filter-combo'Junio C Hamano1-5/+3
2019-08-19cache: remove null_sha1brian m. carlson1-1/+1
2019-07-29Merge branch 'ds/close-object-store' into maintJunio C Hamano1-1/+1
2019-07-25Merge branch 'mt/dir-iterator-updates'Junio C Hamano1-32/+43
2019-07-11clone: replace strcmp by fspathcmpMatheus Tavares1-1/+1
2019-07-11clone: use dir-iterator to avoid explicit dir traversalMatheus Tavares1-22/+25
2019-07-11clone: extract function from copy_or_link_directoryMatheus Tavares1-8/+16
2019-07-11clone: copy hidden paths at local cloneMatheus Tavares1-1/+1
2019-07-11clone: better handle symlinked files at .git/objects/Matheus Tavares1-1/+1
2019-07-09Merge branch 'nd/switch-and-restore'Junio C Hamano1-1/+1
2019-07-09Merge branch 'ds/close-object-store'Junio C Hamano1-1/+1
2019-06-28list-objects-filter-options: make filter_spec a string_listMatthew DeVore1-5/+3
2019-06-17Merge branch 'xl/record-partial-clone-origin'Junio C Hamano1-1/+1
2019-06-17Merge branch 'ba/clone-remote-submodules'Junio C Hamano1-0/+8
2019-06-13Merge branch 'jk/unused-params-final-batch'Junio C Hamano1-3/+2
2019-06-12packfile: rename close_all_packs to close_object_storeDerrick Stolee1-1/+1
2019-05-29clone: respect user supplied origin name when setting up partial cloneXin Li1-1/+1
2019-05-28clone: add `--remote-submodules` flagBen Avison1-0/+8
2019-05-19Merge branch 'nd/parse-options-aliases'Junio C Hamano1-4/+1
2019-05-13Merge branch 'js/partial-clone-connectivity-check'Junio C Hamano1-2/+4
2019-05-13clone: drop dest parameter from copy_alternates()Jeff King1-3/+2
2019-05-07doc: promote "git restore"Nguyễn Thái Ngọc Duy1-1/+1
2019-05-07parse-options: don't emit "ambiguous option" for aliasesNguyễn Thái Ngọc Duy1-4/+1
2019-04-21clone: do faster object check for partial clonesJosh Steadmon1-2/+4
2019-04-18clone: send server options when using protocol v2Jonathan Tan1-0/+6
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-0/+1
2019-02-05Merge branch 'js/filter-options-should-use-plain-int'Junio C Hamano1-1/+5
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-0/+1
2019-01-15filter-options: expand scaled numbersJosh Steadmon1-1/+5
2019-01-04Merge branch 'sg/clone-initial-fetch-configuration'Junio C Hamano1-14/+19
2018-11-16clone: respect additional configured fetch refspecs during initial fetchSZEDER Gábor1-10/+15
2018-11-16clone: use a more appropriate variable name for the default refspecSZEDER Gábor1-6/+6
2018-09-17Merge branch 'nd/clone-case-smashing-warning'Junio C Hamano1-0/+1
2018-08-17clone: report duplicate entries on case-insensitive filesystemsDuy Nguyen1-0/+1
2018-08-15Merge branch 'jt/connectivity-check-after-unshallow'Junio C Hamano1-2/+2
2018-08-15Merge branch 'bw/clone-ref-prefixes'Junio C Hamano1-5/+15
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-1/+2
2018-08-01fetch-pack: unify ref in and out paramJonathan Tan1-2/+2
2018-07-24Merge branch 'jt/partial-clone-fsck-connectivity'Junio C Hamano1-1/+1
2018-07-24Merge branch 'jt/connectivity-check-after-unshallow'Junio C Hamano1-2/+2
2018-07-20clone: send ref-prefixes when using protocol v2Brandon Williams1-5/+15
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-0/+1
2018-07-09clone: check connectivity even if clone is partialJonathan Tan1-1/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+2
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-0/+1
2018-06-28Merge branch 'ab/refspec-init-fix'Junio C Hamano1-1/+1
2018-06-28fetch-pack: put shallow info in output parameterBrandon Williams1-2/+2
2018-06-11refspec: s/refspec_item_init/&_or_die/gÆvar Arnfjörð Bjarmason1-1/+1
2018-05-30Merge branch 'bw/ref-prefix-for-configured-refspec'Junio C Hamano1-7/+6
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+1
2018-05-18clone: convert cmd_clone to use refspec_item_initBrandon Williams1-6/+4
2018-05-18refspec: rename struct refspec to struct refspec_itemBrandon Williams1-2/+2
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-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-03-26object-store: close all packs upon clearing the object storeStefan Beller1-1/+1
2018-03-23object-store: migrate alternates struct and functions from cache.hStefan Beller1-0/+1
2018-03-15transport: convert transport_get_remote_refs to take a list of ref prefixesBrandon Williams1-1/+1
2018-02-15Merge branch 'jk/abort-clone-with-existing-dest' into maintJunio C Hamano1-7/+24
2018-02-13Merge branch 'jh/partial-clone'Junio C Hamano1-2/+20
2018-01-23Merge branch 'jk/abort-clone-with-existing-dest'Junio C Hamano1-7/+24
2018-01-03clone: do not clean up directories we didn't createJeff King1-4/+16
2018-01-03clone: factor out dir_exists() helperJeff King1-3/+8
2017-12-28Merge branch 'jt/transport-hide-vtable'Junio C Hamano1-3/+0
2017-12-27Merge branch 'es/clone-shared-worktree'Junio C Hamano1-1/+2
2017-12-14clone, fetch: remove redundant transport checkJonathan Tan1-3/+0
2017-12-11clone: support 'clone --shared' from a worktreeEric Sunshine1-1/+2
2017-12-08clone: partial cloneJonathan Tan1-2/+20
2017-11-15Merge branch 'mh/tidy-ref-update-flags'Junio C Hamano1-2/+2
2017-11-06Merge branch 'bc/object-id'Junio C Hamano1-11/+11
2017-11-06refs: rename constant `REF_NODEREF` to `REF_NO_DEREF`Michael Haggerty1-2/+2
2017-10-16refs: convert resolve_refdup and refs_resolve_refdup to struct object_idbrian m. carlson1-1/+1
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-1/+1
2017-10-16refs: convert update_ref and refs_update_ref to use struct object_idbrian m. carlson1-7/+7
2017-10-06treewide: prefer lockfiles on the stackMartin Ågren1-4/+3
2017-09-10Merge branch 'bw/clone-recursive-quiet' into maintJunio C Hamano1-0/+3
2017-09-07clone: release strbuf after use in remove_junk()Rene Scharfe1-1/+1
2017-08-23pack: move pack-closing functionsJonathan Tan1-0/+1
2017-08-22Merge branch 'bw/clone-recursive-quiet'Junio C Hamano1-0/+3
2017-08-04clone: teach recursive clones to respect -qBrandon Williams1-0/+3
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-1/+1
2017-06-05Merge branch 'jn/clone-add-empty-config-from-command-line' into maintJunio C Hamano1-1/+3
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-05-26clone: use xfopen() instead of fopen()Nguyễn Thái Ngọc Duy1-1/+1
2017-05-16Merge branch 'jn/clone-add-empty-config-from-command-line'Junio C Hamano1-1/+3
2017-05-08tree: convert parse_tree_indirect to struct object_idbrian m. carlson1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-1/+1
2017-05-02clone: handle empty config values in -cJonathan Nieder1-1/+3
2017-05-01clone: add a --no-tags option to clone without tagsÆvar Arnfjörð Bjarmason1-2/+11
2017-03-30Merge branch 'bw/submodule-is-active'Junio C Hamano1-7/+43
2017-03-18clone: teach --recurse-submodules to optionally take a pathspecBrandon Williams1-7/+43
2017-02-22builtin/clone: convert to struct object_idbrian m. carlson1-5/+5
2017-02-02Merge branch 'rs/absolute-pathdup'Junio C Hamano1-2/+2
2017-01-27use absolute_pathdup()René Scharfe1-2/+2
2016-12-19Merge branch 'jc/lock-report-on-error'Junio C Hamano1-1/+1
2016-12-07hold_locked_index(): align error handling with hold_lockfile_for_update()Junio C Hamano1-1/+1
2016-12-05clone,fetch: explain the shallow-clone option a little more clearlyAlex Henrie1-1/+1
2016-10-28Merge branch 'jk/clone-copy-alternates-fix' into maintJunio C Hamano1-2/+5
2016-10-17Merge branch 'jk/clone-copy-alternates-fix'Junio C Hamano1-2/+5
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano1-3/+21
2016-10-05clone: detect errors in normalize_path_copyJeff King1-2/+5
2016-10-03Merge branch 'nd/init-core-worktree-in-multi-worktree-world'Junio C Hamano1-8/+6
2016-09-25init: call set_git_dir_init() from within init_db()Nguyễn Thái Ngọc Duy1-8/+7
2016-09-22clone: pass --progress decision to recursive submodulesJeff King1-2/+14
2016-08-17clone: recursive and reference option triggers submodule alternatesStefan Beller1-0/+19
2016-08-15clone: implement optional referencesStefan Beller1-10/+25
2016-08-15clone: clarify option_reference as requiredStefan Beller1-4/+4
2016-08-15clone: factor out checking for an alternate pathStefan Beller1-34/+9
2016-07-20clone: use a real progress meter for connectivity checkJeff King1-4/+1
2016-07-20check_everything_connected: use a struct with named optionsJeff King1-2/+5
2016-07-06Merge branch 'sb/clone-shallow-passthru'Junio C Hamano1-3/+2
2016-06-20clone: do not let --depth imply --shallow-submodulesJunio C Hamano1-3/+2
2016-06-13clone: define shallow clone boundary with --shallow-excludeNguyễn Thái Ngọc Duy1-1/+9
2016-06-13clone: define shallow clone boundary based on time with --shallow-sinceNguyễn Thái Ngọc Duy1-3/+13
2016-06-13use string_list initializer consistentlyJeff King1-2/+2
2016-05-06Merge branch 'sb/clone-shallow-passthru'Junio C Hamano1-0/+7
2016-04-26clone: add `--shallow-submodules` flagStefan Beller1-0/+7
2016-04-06Merge branch 'sb/submodule-parallel-update'Junio C Hamano1-6/+13
2016-03-01clone: allow an explicit argument for parallel submodule clonesStefan Beller1-6/+13
2016-02-29builtin/clone.c: mark strings for translationNguyễn Thái Ngọc Duy1-5/+5
2016-02-26Merge branch 'ps/config-error'Junio C Hamano1-1/+1
2016-02-24Merge branch 'ew/force-ipv4'Junio C Hamano1-0/+6
2016-02-22config: rename git_config_set_or_die to git_config_setPatrick Steinhardt1-4/+4
2016-02-22config: rename git_config_set to git_config_set_gentlyPatrick Steinhardt1-1/+1
2016-02-22clone: die on config error in cmd_clonePatrick Steinhardt1-4/+4
2016-02-12connect & http: support -4 and -6 switches for remote operationsEric Wong1-0/+6
2016-02-03Merge branch 'jc/peace-with-crlf'Junio C Hamano1-1/+1
2016-01-28Merge branch 'jc/strbuf-getline'Junio C Hamano1-1/+1