aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/clone.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-01-15clone/sha1_file: read info/alternates with strbuf_getline()Junio C Hamano1-1/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-1/+1
2016-01-12checkout,clone: check return value of create_symrefJeff King1-4/+7
2015-11-20Remove get_object_hash.brian m. carlson1-1/+1
2015-11-20Add several uses of get_object_hash.brian m. carlson1-1/+1
2015-11-20Convert struct ref to use object_id.brian m. carlson1-8/+8
2015-10-22clone: allow "--dissociate" without referenceAlex Riesen1-8/+8
2015-10-15Merge branch 'js/clone-dissociate'Junio C Hamano1-1/+3
2015-10-07clone --dissociate: avoid locking pack filesJohannes Schindelin1-1/+3
2015-09-28clone: better error when --reference is a linked checkoutNguyễn Thái Ngọc Duy1-1/+6
2015-09-28clone: allow --local from a linked checkoutNguyễn Thái Ngọc Duy1-2/+4
2015-08-19Merge branch 'jk/git-path'Junio C Hamano1-14/+29
2015-08-19Merge branch 'ps/guess-repo-name-at-root'Junio C Hamano1-10/+52
2015-08-19Merge branch 'jk/guess-repo-name-regression-fix'Junio C Hamano1-1/+2
2015-08-10get_repo_path: refactor path-allocationJeff King1-14/+29
2015-08-10clone: abort if no dir name could be guessedPatrick Steinhardt1-0/+4
2015-08-10clone: do not use port number as dir namePatrick Steinhardt1-0/+17
2015-08-10clone: do not include authentication data in guessed dirPatrick Steinhardt1-10/+31
2015-08-10clone: use computed length in guess_dir_nameJeff King1-1/+2
2015-08-03Merge branch 'mh/init-delete-refs-api'Junio C Hamano1-4/+14
2015-07-13Merge branch 'ss/clone-guess-dir-name-simplify'Junio C Hamano1-13/+6
2015-07-09clone: simplify string handling in guess_dir_name()Sebastian Schuberth1-13/+6
2015-06-22initial_ref_transaction_commit(): function for initial ref creationMichael Haggerty1-4/+14
2015-06-16Merge branch 'jk/clone-dissociate' into maintJunio C Hamano1-13/+4
2015-06-11Merge branch 'jk/clone-dissociate'Junio C Hamano1-13/+4
2015-06-05Merge branch 'mh/clone-verbosity-fix' into maintJunio C Hamano1-2/+2
2015-05-27clone: reorder --dissociate and --reference optionsJeff King1-2/+2
2015-05-27clone: use OPT_STRING_LIST for --referenceJeff King1-11/+2
2015-05-22Merge branch 'mh/clone-verbosity-fix'Junio C Hamano1-2/+2
2015-05-19clone: call transport_set_verbosity before anything else on the newly created...Mike Hommey1-2/+2
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-4/+5
2015-03-28Merge branch 'jk/cleanup-failed-clone' into maintJunio C Hamano1-5/+6
2015-03-25Merge branch 'jk/cleanup-failed-clone'Junio C Hamano1-5/+6
2015-03-19clone: drop period from end of die_errno messageJeff King1-1/+1
2015-03-19clone: initialize atexit cleanup handler earlierJeff King1-4/+5
2015-01-14standardize usage info string formatAlex Henrie1-1/+1
2015-01-07Merge branch 'jc/clone-borrow'Junio C Hamano1-0/+20
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-4/+5
2014-10-24Merge branch 'eb/no-pthreads'Junio C Hamano1-5/+0
2014-10-19Handle atexit list internaly for unthreaded buildsEtienne Buira1-5/+0
2014-10-15clone: --dissociate option to mark that reference is only temporaryJunio C Hamano1-0/+20
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-1/+1
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-09-19Merge branch 'da/styles'Junio C Hamano1-3/+4
2014-09-09Merge branch 'sb/plug-leaks'Junio C Hamano1-0/+2
2014-09-02stylefix: asterisks stick to the variable, not the typeDavid Aguilar1-3/+4
2014-08-10clone.c: don't leak memory in cmd_cloneStefan Beller1-0/+2
2014-07-17use local cloning if insteadOf makes a local URLMichael Barabanov1-12/+13
2014-07-16Merge branch 'nd/split-index'Junio C Hamano1-4/+3
2014-07-10Merge branch 'jc/fix-clone-single-starting-at-a-tag'Junio C Hamano1-1/+1
2014-06-23builtin/clone.c: detect a clone starting at a tag correctlyJunio C Hamano1-1/+1
2014-06-20refactor skip_prefix to return a booleanJeff King1-4/+7
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-4/+3
2014-04-07refs.h: rename the action_on_err constantsMichael Haggerty1-4/+5
2014-03-18commit: fix patch hunk editing with "commit -p -m"Benoit Pierre1-2/+2
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-2/+16
2013-12-17Merge branch 'nd/transport-positive-depth-only'Junio C Hamano1-0/+4
2013-12-10clone: use git protocol for cloning shallow repo locallyNguyễn Thái Ngọc Duy1-2/+9
2013-12-10clone: support remote shallow repositoryNguyễn Thái Ngọc Duy1-0/+1
2013-12-10clone: prevent --reference to a shallow repositoryNguyễn Thái Ngọc Duy1-0/+6
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-4/+4
2013-10-28Merge branch 'jk/clone-progress-to-stderr' into maintJunio C Hamano1-23/+21
2013-10-18Merge branch 'jk/clone-progress-to-stderr'Junio C Hamano1-23/+21
2013-10-15Merge branch 'maint'Junio C Hamano1-0/+4
2013-10-14clone --branch: refuse to clone if upstream repo is emptyRalf Thielow1-0/+4
2013-09-24clone: add a period after "done" to end the sentenceSebastian Schuberth1-1/+1
2013-09-18clone: always set transport optionsJeff King1-16/+14
2013-09-18clone: treat "checking connectivity" like other progressJeff King1-2/+2
2013-09-18clone: send diagnostic messages to stderrJeff King1-5/+5
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-8/+8
2013-08-05Remove deprecated OPTION_BOOLEAN for parsing argumentsStefan Beller1-4/+3
2013-07-18Merge branch 'jk/maint-clone-shared-no-connectivity-validation'Junio C Hamano1-9/+12
2013-07-12Merge branch 'ms/remote-tracking-branches-in-doc'Junio C Hamano1-1/+1
2013-07-08clone: drop connectivity check for local clonesJeff King1-4/+7
2013-07-03Change "remote tracking" to "remote-tracking"Michael Schubert1-1/+1
2013-06-20refs: implement simple transactions for the packed-refs fileMichael Haggerty1-1/+4
2013-06-06Merge branch 'nd/clone-connectivity-shortcut'Junio C Hamano1-3/+12
2013-06-02Merge branch 'nd/clone-local-with-colon'Junio C Hamano1-0/+2
2013-05-29Merge branch 'mh/packed-refs-various'Junio C Hamano1-1/+0
2013-05-28clone: open a shortcut for connectivity checkNguyễn Thái Ngọc Duy1-3/+8
2013-05-11clone: let the user know when check_everything_connected is runNguyễn Thái Ngọc Duy1-0/+4
2013-05-07clone: allow cloning local paths with colons in themNguyễn Thái Ngọc Duy1-0/+2
2013-05-01pack-refs: merge code from pack-refs.{c,h} into refs.{c,h}Michael Haggerty1-1/+0
2013-04-28Merge branch 'jk/check-corrupt-objects-carefully'Junio C Hamano1-1/+1
2013-04-28clone: Make the 'junk_mode' symbol a file staticRamsay Jones1-1/+1
2013-04-09clone: Allow repo using gitfile as a referenceAaron Schrab1-2/+12
2013-04-08clone: Fix error message for reference repositoryAaron Schrab1-1/+1
2013-03-29clone: leave repo in place after checkout errorsJeff King1-1/+24
2013-03-27clone: run check_everything_connectedJeff King1-0/+26
2013-03-27clone: die on errors from unpack_treesJeff King1-1/+2
2013-02-25Merge branch 'nd/clone-no-separate-git-dir-with-bare' into maintJunio C Hamano1-0/+2
2013-02-01Merge branch 'jc/no-git-config-in-clone'Junio C Hamano1-9/+0
2013-01-21Merge branch 'nd/clone-no-separate-git-dir-with-bare'Junio C Hamano1-0/+2
2013-01-14Merge branch 'jl/interrupt-clone-remove-separate-git-dir' into maintJunio C Hamano1-1/+3
2013-01-11clone: do not export and unexport GIT_CONFIGJunio C Hamano1-9/+0
2013-01-10clone: forbid --bare --separate-git-dir <dir>Nguyễn Thái Ngọc Duy1-0/+2
2013-01-10Merge branch 'jl/interrupt-clone-remove-separate-git-dir'Junio C Hamano1-1/+3
2013-01-05clone: support atomic operation with --separate-git-dirJens Lehmann1-1/+3
2012-10-08Merge branch 'rt/maint-clone-single' into maintJunio C Hamano1-14/+51
2012-10-01Merge branch 'rt/maint-clone-single'Junio C Hamano1-14/+51
2012-09-20clone --single: limit the fetch refspec to fetched branchRalf Thielow1-14/+51
2012-09-14Merge branch 'rj/path-cleanup'Junio C Hamano1-2/+2
2012-09-04Call mkpathdup() rather than xstrdup(mkpath(...))Ramsay Jones1-2/+2
2012-08-20i18n: clone: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-28/+28
2012-07-22Merge branch 'ar/clone-honor-umask-at-top' into maintJunio C Hamano1-1/+1
2012-07-15Merge branch 'ar/clone-honor-umask-at-top'Junio C Hamano1-1/+1
2012-07-09Restore umasks influence on the permissions of work tree created by cloneAlex Riesen1-1/+1
2012-07-04Merge branch 'nd/clone-single-fix'Junio C Hamano1-2/+5
2012-06-22clone: fix ref selection in --single-branch --branch=xxxNguyễn Thái Ngọc Duy1-2/+5
2012-05-30clone: allow --no-local to turn off local optimizationsJeff King1-5/+5
2012-05-07Merge branch 'ef/maint-1.7.6-clone-progress-fix' into ef/maint-clone-progress...Junio C Hamano1-1/+1
2012-05-07clone: fix progress-regressionErik Faye-Lund1-1/+1
2012-02-21Merge branch 'cb/transfer-no-progress' into maintJunio C Hamano1-3/+3
2012-02-21Merge branch 'jk/git-dir-lookup' into maintJunio C Hamano1-2/+2
2012-02-20Merge branch 'cb/transfer-no-progress'Junio C Hamano1-3/+3
2012-02-14Merge branch 'jk/git-dir-lookup'Junio C Hamano1-2/+2
2012-02-13push/fetch/clone --no-progress suppresses progress outputClemens Buchacher1-3/+3
2012-02-12clone: do not add alternate references to extra_refsMichael Haggerty1-12/+0
2012-02-12clone.c: move more code into the "if (refs)" conditionalMichael Haggerty1-19/+20
2012-02-02standardize and improve lookup rules for external local reposJeff King1-2/+2
2012-01-31Merge branch 'nd/clone-detached'Junio C Hamano1-125/+182
2012-01-29Merge branch 'mh/ref-clone-without-extra-refs'Junio C Hamano1-2/+1
2012-01-24clone: fix up delay cloning conditionsNguyễn Thái Ngọc Duy1-6/+14
2012-01-17write_remote_refs(): create packed (rather than extra) refsMichael Haggerty1-2/+1
2012-01-16clone: print advice on checking out detached HEADNguyễn Thái Ngọc Duy1-1/+4
2012-01-16clone: allow --branch to take a tagNguyễn Thái Ngọc Duy1-1/+19
2012-01-16clone: refuse to clone if --branch points to bogus refNguyễn Thái Ngọc Duy1-8/+4
2012-01-16clone: --branch=<branch> always means refs/heads/<branch>Nguyễn Thái Ngọc Duy1-14/+16
2012-01-16clone: delay cloning until after remote HEAD checkingNguyễn Thái Ngọc Duy1-27/+27
2012-01-16clone: factor out remote ref writingNguyễn Thái Ngọc Duy1-14/+25
2012-01-16clone: factor out HEAD update codeNguyễn Thái Ngọc Duy1-17/+24
2012-01-16clone: factor out checkout codeNguyễn Thái Ngọc Duy1-43/+58
2012-01-16clone: write detached HEAD in bare repositoriesNguyễn Thái Ngọc Duy1-6/+3
2012-01-08clone: add --single-branch to fetch only one branchNguyễn Thái Ngọc Duy1-4/+48
2011-12-21clone: the -o option has nothing to do with <branch>Carlos Martín Nieto1-2/+2
2011-10-27clone: Quote user supplied path in a single quote pairRichard Hartmann1-2/+2
2011-09-23Merge branch 'jc/maint-clone-alternates' into maintJunio C Hamano1-29/+90
2011-08-28Merge branch 'nd/maint-clone-gitdir'Junio C Hamano1-1/+18
2011-08-28Merge branch 'jc/maint-clone-alternates'Junio C Hamano1-29/+90
2011-08-23clone: clone from a repository with relative alternatesJunio C Hamano1-23/+68
2011-08-22clone: allow more than one --referenceJunio C Hamano1-8/+24
2011-08-22clone: allow to clone from .git fileNguyễn Thái Ngọc Duy1-1/+18
2011-08-01Merge branch 'jk/clone-detached'Junio C Hamano1-3/+7
2011-06-22clone: accept config options on the command lineJeff King1-1/+20
2011-06-07clone: always fetch remote HEADJeff King1-3/+7
2011-05-31Merge branch 'ab/i18n-fixup' into maintJunio C Hamano1-1/+1
2011-05-25Merge branch 'maint'Junio C Hamano1-1/+1
2011-05-25init/clone: remove short option -L and document --separate-git-dirNguyen Thai Ngoc Duy1-1/+1
2011-04-12i18n: mark clone nonexistent repository message for translationÆvar Arnfjörð Bjarmason1-1/+1
2011-04-01Merge branch 'nd/init-gitdir'Junio C Hamano1-1/+7
2011-04-01Merge branch 'ab/i18n-st'Junio C Hamano1-30/+33
2011-03-22Fix sparse warningsStephen Boyd1-1/+1
2011-03-19Merge branch 'jk/trace-sifter'Junio C Hamano1-0/+1
2011-03-19init, clone: support --separate-git-dir for .git fileNguyễn Thái Ngọc Duy1-1/+7
2011-03-17Name make_*_path functions more accuratelyCarlos Martín Nieto1-5/+5
2011-03-16Merge branch 'jk/fail-null-clone' into maintJunio C Hamano1-1/+1
2011-03-09i18n: git-clone "Cloning into" messageÆvar Arnfjörð Bjarmason1-2/+2
2011-03-09i18n: git-clone "Cloning into" messageÆvar Arnfjörð Bjarmason1-3/+6
2011-03-09i18n: git-clone basic messagesÆvar Arnfjörð Bjarmason1-27/+27
2011-03-08add packet tracing debug codeJeff King1-0/+1