aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/submodule--helper.c
AgeCommit message (Expand)AuthorFilesLines
2021-10-06Merge branch 'jt/add-submodule-odb-clean-up'Junio C Hamano1-6/+1
2021-09-23Merge branch 'jt/submodule-name-to-gitdir'Junio C Hamano1-2/+8
2021-09-20Merge branch 'ar/submodule-run-update-procedure'Junio C Hamano1-0/+257
2021-09-20Merge branch 'ar/submodule-add-more'Junio C Hamano1-145/+162
2021-09-20Merge branch 'ar/submodule-add-config'Junio C Hamano1-0/+129
2021-09-15submodule: extract path to submodule gitdir funcJonathan Tan1-2/+8
2021-09-09repository: support unabsorbed in repo_submodule_initJonathan Tan1-6/+1
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-1/+1
2021-08-24submodule--helper: run update procedures from CAtharva Raykar1-0/+257
2021-08-10submodule--helper: rename compute_submodule_clone_url()Atharva Raykar1-6/+6
2021-08-10submodule--helper: remove resolve-relative-url subcommandAtharva Raykar1-20/+0
2021-08-10submodule--helper: remove add-config subcommandAtharva Raykar1-49/+0
2021-08-10submodule--helper: remove add-clone subcommandAtharva Raykar1-60/+0
2021-08-10submodule--helper: convert the bulk of cmd_add() to CAtharva Raykar1-1/+164
2021-08-10submodule--helper: remove repeated code in sync_submodule()Atharva Raykar1-13/+3
2021-08-10submodule--helper: refactor resolve_relative_url() helperAtharva Raykar1-36/+25
2021-08-10submodule--helper: add options for compute_submodule_clone_url()Atharva Raykar1-7/+11
2021-08-10Merge branch 'ar/submodule-add-config' into ar/submodule-addJunio C Hamano1-0/+129
2021-08-10submodule--helper: introduce add-config subcommandAtharva Raykar1-0/+129
2021-08-04Merge branch 'ah/plugleaks'Junio C Hamano1-2/+4
2021-08-04Merge branch 'ar/submodule-add'Junio C Hamano1-113/+304
2021-07-26builtin/submodule--helper: release unused strbuf to avoid leakAndrzej Hunt1-2/+4
2021-07-26submodule: drop unused sm_name parameter from show_fetch_remotes()Jeff King1-3/+2
2021-07-16Merge branch 'ar/submodule-helper-include-cleanup'Junio C Hamano1-1/+0
2021-07-12submodule--helper: introduce add-clone subcommandAtharva Raykar1-0/+177
2021-07-12submodule--helper: refactor module_clone()Atharva Raykar1-113/+128
2021-07-06submodule--helper: remove redundant includeAtharva Raykar1-1/+0
2021-06-10Merge branch 'ah/submodule-helper-module-summary-parseopt'Junio C Hamano1-1/+1
2021-05-17submodule: use the imperative mood to describe the --files optionAlex Henrie1-1/+1
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-14/+15
2021-02-12Merge branch 'tb/precompose-prefix-too'Junio C Hamano1-1/+1
2021-02-03MacOS: precompose_argv_prefix()Torsten Bögershausen1-1/+1
2021-01-06builtin/*: update usage formatZheNing Hu1-12/+12
2020-10-08doc: fix the bnf like style of some commandsJean-Noël Avila1-1/+1
2020-09-09Merge branch 'ss/submodule-summary-in-c-fixes'Junio C Hamano1-9/+8
2020-09-09Merge branch 'ss/submodule-summary-in-c'Junio C Hamano1-3/+429
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-8/+8
2020-08-27t7421: eliminate 'grep' check in t7421.4 for mingw compatibilityShourya Shukla1-3/+4
2020-08-25submodule: fix style in function definitionShourya Shukla1-3/+3
2020-08-25submodule: eliminate unused parameters from print_submodule_summary()Shourya Shukla1-3/+1
2020-08-17submodule--helper: fix leak of core.worktree valueJeff King1-2/+2
2020-08-14config: fix leaks from git_config_get_string_const()Jeff King1-4/+4
2020-08-14submodule--helper: use strbuf_release() to free strbufsJeff King1-2/+2
2020-08-12submodule: port submodule subcommand 'summary' from shell to CPrathamesh Chavan1-0/+429
2020-08-12submodule: remove extra line feeds between callback struct and macroShourya Shukla1-3/+0
2020-07-30strvec: rename struct fieldsJeff King1-3/+3
2020-07-28strvec: fix indentation in renamed callsJeff King1-10/+10
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-59/+59
2020-07-06Merge branch 'js/default-branch-name'Junio C Hamano1-1/+1
2020-06-24submodule: fall back to remote's HEAD for missing remote.<name>.branchJohannes Schindelin1-1/+1
2020-06-02submodule: port subcommand 'set-branch' from shell to CShourya Shukla1-0/+44
2020-05-08submodule: port subcommand 'set-url' from shell to CShourya Shukla1-0/+32
2020-03-18submodule--helper.c: Rename 'cb_foreach' to 'foreach_cb'Shourya Shukla1-4/+4
2020-03-05Merge branch 'es/recursive-single-branch-clone'Junio C Hamano1-6/+25
2020-02-25clone: pass --single-branch during --recurse-submodulesEmily Shaffer1-2/+18
2020-02-25submodule--helper: use C99 named initializerEmily Shaffer1-4/+7
2020-02-14Merge branch 'pk/status-of-uncloned-submodule'Junio C Hamano1-1/+11
2020-01-27submodule: fix status of initialized but not cloned submodulesPeter Kaestle1-1/+11
2019-12-10Merge branch 'jt/clone-recursesub-ref-advise'Junio C Hamano1-0/+10
2019-12-09Sync with Git 2.24.1Junio C Hamano1-2/+18
2019-12-06Sync with 2.23.1Johannes Schindelin1-2/+18
2019-12-06Sync with 2.22.2Johannes Schindelin1-2/+18
2019-12-06Sync with 2.21.1Johannes Schindelin1-2/+18
2019-12-06Sync with 2.20.2Johannes Schindelin1-2/+18
2019-12-06submodule: defend against submodule.update = !command in .gitmodulesJonathan Nieder1-0/+2
2019-12-06Sync with 2.19.3Johannes Schindelin1-2/+16
2019-12-06Sync with 2.18.2Johannes Schindelin1-2/+16
2019-12-06Sync with 2.17.3Johannes Schindelin1-2/+16
2019-12-06Sync with 2.16.6Johannes Schindelin1-1/+16
2019-12-06Sync with 2.15.4Johannes Schindelin1-1/+16
2019-12-06Sync with 2.14.6Johannes Schindelin1-1/+16
2019-12-05Merge branch 'mg/submodule-status-from-a-subdirectory'Junio C Hamano1-1/+2
2019-12-05Disallow dubiously-nested submodule git directoriesJohannes Schindelin1-0/+4
2019-12-04clone --recurse-submodules: prevent name squatting on WindowsJohannes Schindelin1-1/+12
2019-12-03submodule--helper: advise on fatal alternate errorJonathan Tan1-0/+10
2019-11-25submodule: fix 'submodule status' when called from a subdirectoryManish Goregaokar1-1/+2
2019-10-11Merge branch 'bc/object-id-part17'Junio C Hamano1-1/+1
2019-09-29builtin/submodule--helper: fix usage string for 'update-clone'Bert Wesarg1-1/+1
2019-08-19cache: remove null_sha1brian m. carlson1-1/+1
2019-07-29Merge branch 'ms/submodule-foreach-fix' into maintJunio C Hamano1-0/+1
2019-07-09Merge branch 'ms/submodule-foreach-fix'Junio C Hamano1-0/+1
2019-06-25submodule foreach: fix recursion of optionsMorian Sonnet1-0/+1
2019-06-13Merge branch 'jk/unused-params-final-batch'Junio C Hamano1-2/+1
2019-05-19Merge branch 'nd/submodule-helper-incomplete-line-fix'Junio C Hamano1-1/+1
2019-05-13submodule: drop unused prefix parameter from some functionsJeff King1-2/+1
2019-05-08submodule--helper: add a missing \nNguyễn Thái Ngọc Duy1-1/+1
2019-04-25Merge branch 'nd/submodule-foreach-quiet'Junio C Hamano1-4/+4
2019-04-25Merge branch 'dl/submodule-set-branch'Junio C Hamano1-5/+12
2019-04-15submodule foreach: fix "<command> --quiet" not being respectedNguyễn Thái Ngọc Duy1-4/+4
2019-03-20report_path_error(): drop unused prefix parameterJeff King1-1/+1
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-5/+4
2019-02-08submodule--helper: teach config subcommand --unsetDenton Liu1-5/+12
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-0/+1
2019-01-29Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'Junio C Hamano1-1/+1
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-0/+1
2019-01-18Merge branch 'sb/submodule-unset-core-worktree-when-worktree-is-lost'Junio C Hamano1-1/+3
2019-01-18Merge branch 'sb/submodule-fetchjobs-default-to-one'Junio C Hamano1-1/+1
2019-01-04Merge branch 'jk/loose-object-cache'Junio C Hamano1-4/+5
2018-12-26submodule deinit: unset core.worktreeStefan Beller1-0/+2
2018-12-26submodule--helper: fix BUG message in ensure_core_worktreeStefan Beller1-1/+1
2018-12-14submodule update: run at most one fetch job unless otherwise setJunio C Hamano1-1/+1
2018-12-05repository: repo_submodule_init to take a submodule structStefan Beller1-1/+1
2018-11-13Merge branch 'ao/submodule-wo-gitmodules-checked-out'Junio C Hamano1-0/+40
2018-11-13rename "alternate_object_database" to "object_directory"Jeff King1-3/+3
2018-11-13submodule--helper: prefer strip_suffix() to ends_with()Jeff King1-3/+4
2018-11-06Merge branch 'sb/submodule-url-to-absolute'Junio C Hamano1-17/+34
2018-10-31submodule: support reading .gitmodules when it's not in the working treeAntonio Ospite1-1/+5
2018-10-30Merge branch 'sb/submodule-helper-remove-cruft'Junio C Hamano1-2/+0
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-1/+1
2018-10-18builtin/submodule--helper: remove debugging leftover tracingStefan Beller1-2/+0
2018-10-18submodule helper: convert relative URL to absolute URL if neededStefan Beller1-17/+34
2018-10-09submodule: add a helper to check if it is safe to write to .gitmodulesAntonio Ospite1-1/+23
2018-10-09submodule--helper: add a new 'config' subcommandAntonio Ospite1-0/+14
2018-09-27Sync with 2.19.1Junio C Hamano1-0/+1
2018-09-27Sync with 2.18.1Junio C Hamano1-0/+1
2018-09-27Sync with 2.17.2Junio C Hamano1-0/+1
2018-09-27Sync with 2.16.5Junio C Hamano1-0/+1
2018-09-27Sync with 2.15.3Junio C Hamano1-0/+1
2018-09-27Sync with Git 2.14.4Junio C Hamano1-0/+1
2018-09-27submodule--helper: use "--" to signal end of clone optionsJeff King1-0/+1
2018-09-21revision.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-17Merge branch 'sb/submodule-update-in-c'Junio C Hamano1-34/+158
2018-09-07Revert "Merge branch 'sb/submodule-core-worktree'"Jonathan Nieder1-26/+0
2018-08-23i18n: fix mistakes in translated stringsJean-Noël Avila1-1/+1
2018-08-20Merge branch 'sb/submodule-cleanup'Junio C Hamano1-1/+0
2018-08-16builtin/submodule--helper: remove stray new lineStefan Beller1-1/+0
2018-08-14submodule--helper: introduce new update-module-mode helperStefan Beller1-0/+61
2018-08-14submodule--helper: replace connect-gitdir-workingtree by ensure-core-worktreeStefan Beller1-24/+40
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-08-03builtin/submodule--helper: factor out method to update a single submoduleStefan Beller1-10/+10
2018-08-03builtin/submodule--helper: store update_clone information in a structStefan Beller1-10/+27
2018-08-03builtin/submodule--helper: factor out submodule updatingStefan Beller1-26/+33
2018-08-03git-submodule.sh: rename unused variablesStefan Beller1-3/+2
2018-07-18Merge branch 'ao/config-from-gitmodules'Junio C Hamano1-4/+4
2018-07-18Merge branch 'sb/submodule-core-worktree'Junio C Hamano1-0/+26
2018-06-26submodule-config: add helper to get 'update-clone' config from .gitmodulesAntonio Ospite1-4/+4
2018-06-25Merge branch 'sb/plug-misc-leaks'Junio C Hamano1-1/+2
2018-06-25Merge branch 'pc/submodule-helper-foreach'Junio C Hamano1-0/+144
2018-06-19submodule deinit: unset core.worktreeStefan Beller1-0/+2
2018-06-19submodule: ensure core.worktree is set after updateStefan Beller1-0/+24
2018-06-01submodule--helper: plug mem leak in print_default_remoteStefan Beller1-1/+2
2018-05-30Merge branch 'bw/ref-prefix-for-configured-refspec'Junio C Hamano1-6/+8
2018-05-30Merge branch 'cf/submodule-progress-dissociate'Junio C Hamano1-3/+13
2018-05-29Sync with Git 2.17.1Junio C Hamano1-0/+24
2018-05-22Sync with Git 2.16.4Junio C Hamano1-0/+24
2018-05-22Sync with Git 2.15.2Junio C Hamano1-0/+24
2018-05-22Sync with Git 2.14.4Junio C Hamano1-0/+24
2018-05-22Sync with Git 2.13.7Junio C Hamano1-0/+24
2018-05-21submodule-config: verify submodule names as pathsJeff King1-0/+24
2018-05-22submodule: add --dissociate option to add/update commandsCasey Fitzpatrick1-3/+13
2018-05-18submodule--helper: convert push_check to use struct refspecBrandon Williams1-6/+7
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-11submodule: port submodule subcommand 'foreach' from shell to CPrathamesh Chavan1-0/+144
2018-05-08Merge branch 'nd/submodule-status-fix'Junio C Hamano1-2/+6
2018-05-08Merge branch 'sb/submodule-move-nested'Junio C Hamano1-9/+8
2018-04-19submodule--helper: don't print null in 'submodule status'Nguyễn Thái Ngọc Duy1-2/+6
2018-04-11Merge branch 'rs/status-with-removed-submodule'Junio C Hamano1-2/+6
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-0/+1
2018-03-29submodule: fixup nested submodules after moving the submoduleStefan Beller1-2/+1
2018-03-29submodule-config: add repository argument to submodule_from_{name, path}Stefan Beller1-7/+7
2018-03-28submodule: check for NULL return of get_submodule_ref_store()René Scharfe1-2/+6
2018-03-28Merge branch 'pc/submodule-helper'Junio C Hamano1-1/+1
2018-03-27submodule deinit: handle non existing pathspecs gracefullyStefan Beller1-1/+1
2018-03-23object-store: migrate alternates struct and functions from cache.hStefan Beller1-0/+1
2018-03-14Merge branch 'nd/parseopt-completion'Junio C Hamano1-1/+1
2018-01-16submodule: port submodule subcommand 'deinit' from shell to CPrathamesh Chavan1-0/+147
2018-01-16submodule: port submodule subcommand 'sync' from shell to CPrathamesh Chavan1-0/+193
2017-12-13Merge branch 'pc/submodule-helper'Junio C Hamano1-1/+1
2017-11-26submodule--helper.c: i18n: add a missing space in messageJean-Noel Avila1-1/+1
2017-11-06Merge branch 'bc/object-id'Junio C Hamano1-1/+1
2017-11-06Merge branch 'pc/submodule-helper'Junio C Hamano1-17/+256
2017-10-16refs: convert resolve_refdup and refs_resolve_refdup to struct object_idbrian m. carlson1-1/+1
2017-10-07submodule: port submodule subcommand 'status' from shell to CPrathamesh Chavan1-0/+198
2017-10-07submodule--helper: introduce for_each_listed_submodule()Prathamesh Chavan1-5/+35
2017-10-02submodule--helper: introduce get_submodule_displaypath()Prathamesh Chavan1-12/+23
2017-09-28Merge branch 'rs/resolve-ref-optional-result'Junio C Hamano1-4/+2
2017-09-24refs: pass NULL to resolve_ref_unsafe() if hash is not neededRené Scharfe1-4/+2
2017-09-22consistently use "fallthrough" comments in switchesJeff King1-0/+1
2017-09-10Merge branch 'bw/push-options-recursively-to-submodules' into maintJunio C Hamano1-9/+40
2017-08-26Merge branch 'bw/submodule-config-cleanup'Junio C Hamano1-22/+29
2017-08-23Merge branch 'js/run-process-parallel-api-fix' into maintJunio C Hamano1-1/+1
2017-08-22Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-4/+13
2017-08-22Merge branch 'bw/push-options-recursively-to-submodules'Junio C Hamano1-9/+40
2017-08-11Merge branch 'js/run-process-parallel-api-fix'Junio C Hamano1-1/+1
2017-08-03submodule: remove gitmodules_configBrandon Williams1-14/+0
2017-08-03submodule: remove submodule_config callback routineBrandon Williams1-1/+0
2017-08-03submodule--helper: don't overlay config in update-cloneBrandon Williams1-4/+19
2017-08-03submodule--helper: don't overlay config in remote_submodule_branchBrandon Williams1-4/+11
2017-08-02Merge branch 'bc/object-id' into bw/submodule-config-cleanupJunio C Hamano1-4/+4
2017-08-02submodule: remove submodule.fetchjobs from submodule-config parsingBrandon Williams1-4/+13
2017-07-21run_processes_parallel: change confusing task_cb conventionJohannes Schindelin1-1/+1
2017-07-20submodule--helper: teach push-check to handle HEADBrandon Williams1-9/+40
2017-07-17submodule: convert submodule config lookup to use object_idbrian m. carlson1-4/+4
2017-07-10Merge branch 'jc/utf8-fprintf' into maintJunio C Hamano1-3/+2
2017-07-06Merge branch 'jc/utf8-fprintf'Junio C Hamano1-3/+2
2017-06-28submodule--helper: do not call utf8_fprintf() unnecessarilyJunio C Hamano1-3/+2
2017-06-23submodule: convert is_submodule_initialized to work on a repositoryBrandon Williams1-4/+5
2017-06-23Merge branches 'bw/ls-files-sans-the-index' and 'bw/config-h' into bw/repo-ob...Junio C Hamano1-0/+1
2017-06-19Merge branch 'jk/consistent-h'Junio C Hamano1-3/+2