aboutsummaryrefslogtreecommitdiffstats
path: root/submodule-config.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-15config: add --comment option to add a commentRalph Seichter1-1/+1
2024-01-26Merge branch 'vd/fsck-submodule-url-test'Junio C Hamano1-0/+140
2024-01-19submodule-config.c: strengthen URL fsck checkVictoria Dye1-5/+11
2024-01-18submodule-config.h: move check_submodule_urlVictoria Dye1-0/+134
2023-12-09submodule: handle NULL value when parsing submodule.*.branchJeff King1-1/+3
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-11/+20
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-6/+7
2023-06-28config: pass ctx with config filesGlen Choo1-2/+3
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-5/+12
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-05-26config: pass 'repo' directly to 'config_with_options()'Victoria Dye1-2/+1
2023-04-24object-store.h: reduce unnecessary includesElijah Newren1-0/+1
2023-04-11treewide: remove cache.h inclusion due to object.h changesElijah Newren1-1/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-2/+3
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-21environment.h: move declarations for environment.c 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-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2022-10-12run-command API: don't fall back on online_cpus()Ævar Arnfjörð Bjarmason1-0/+2
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-4/+4
2022-08-19hashmap: mark unused callback parametersJeff King1-4/+4
2022-06-17i18n: fix mismatched camelCase config variablesJiang Xin1-1/+1
2022-06-16submodule-config: avoid memory leakJohannes Schindelin1-4/+4
2022-05-16dir API: add a generalized path_match_flags() functionÆvar Arnfjörð Bjarmason1-3/+3
2022-02-25Merge branch 'ja/i18n-common-messages'Junio C Hamano1-1/+1
2022-02-04i18n: factorize "invalid value" messagesJean-Noël Avila1-1/+1
2022-02-04branch: add --recurse-submodules option for branch creationGlen Choo1-0/+61
2021-09-08submodule-config: pass repo upon blob config readJonathan Tan1-2/+3
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-1/+1
2020-11-02hashmap: provide deallocation function namesElijah Newren1-2/+2
2020-08-18fetch: avoid reading submodule config until neededJonathan Tan1-2/+6
2020-04-10parse_config_key(): return subsection len as size_tJeff King1-1/+2
2020-02-17Merge branch 'mr/show-config-scope'Junio C Hamano1-1/+3
2020-02-10submodule-config: add subomdule config scopeMatthew Rogers1-1/+3
2020-01-17submodule-config: add skip_if_read option to repo_read_gitmodules()Matheus Tavares1-12/+6
2019-12-16fix-typo: consecutive-word duplicationsryenus1-1/+1
2019-12-06Sync with 2.23.1Johannes Schindelin1-2/+10
2019-12-06Sync with 2.21.1Johannes Schindelin1-2/+10
2019-12-06Sync with 2.19.3Johannes Schindelin1-2/+10
2019-12-06Sync with 2.18.2Johannes Schindelin1-2/+10
2019-12-06Sync with 2.17.3Johannes Schindelin1-2/+10
2019-12-06Sync with 2.15.4Johannes Schindelin1-2/+10
2019-12-06submodule: reject submodule.update = !command in .gitmodulesJonathan Nieder1-2/+10
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong1-7/+3
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-1/+1
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong1-2/+2
2019-10-07hashmap: hashmap_{put,remove} return hashmap_entry *Eric Wong1-1/+3
2019-10-07hashmap: use *_entry APIs for iterationEric Wong1-3/+5
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong1-8/+12
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong1-2/+4
2019-10-07hashmap_put takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_remove takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong1-2/+2
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-5/+5
2019-04-16submodule-config.c: use repo_get_oid for reading .gitmodulesNguyễn Thái Ngọc Duy1-13/+7
2019-02-20completion: add more parameter value completionNguyễn Thái Ngọc Duy1-1/+8
2018-11-13Merge branch 'ao/submodule-wo-gitmodules-checked-out'Junio C Hamano1-2/+66
2018-10-31submodule: support reading .gitmodules when it's not in the working treeAntonio Ospite1-2/+29
2018-10-09submodule: factor out a config_set_in_gitmodules_file_gently functionAntonio Ospite1-0/+12
2018-10-09submodule: add a print_config_from_gitmodules() helperAntonio Ospite1-0/+25
2018-09-27Sync with 2.19.1Junio C Hamano1-0/+10
2018-09-27Sync with 2.18.1Junio C Hamano1-0/+10
2018-09-27Sync with 2.17.2Junio C Hamano1-0/+10
2018-09-27Sync with 2.15.3Junio C Hamano1-0/+10
2018-09-27Sync with Git 2.14.4Junio C Hamano1-0/+10
2018-09-27submodule-config: ban submodule paths that start with a dashJeff King1-0/+2
2018-09-27submodule-config: ban submodule urls that start with dashJeff King1-0/+8
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-2/+2
2018-08-02Merge branch 'jk/fsck-gitmodules-gently'Junio C Hamano1-1/+1
2018-07-18Merge branch 'ao/config-from-gitmodules'Junio C Hamano1-12/+63
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-0/+1
2018-07-03config: add options parameter to git_config_from_memJeff King1-1/+1
2018-06-26submodule-config: reuse config_from_gitmodules in repo_read_gitmodulesAntonio Ospite1-29/+21
2018-06-26submodule-config: pass repository as argument to config_from_gitmodulesAntonio Ospite1-5/+5
2018-06-26submodule-config: make 'config_from_gitmodules' privateAntonio Ospite1-4/+4
2018-06-26submodule-config: add helper to get 'update-clone' config from .gitmodulesAntonio Ospite1-0/+14
2018-06-26submodule-config: add helper function to get 'fetch' config from .gitmodulesAntonio Ospite1-0/+28
2018-06-26config: move config_from_gitmodules to submodule-config.cAntonio Ospite1-0/+17
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-33/+33
2018-05-29Sync with Git 2.17.1Junio C Hamano1-0/+31
2018-05-22Sync with Git 2.15.2Junio C Hamano1-0/+31
2018-05-22Sync with Git 2.14.4Junio C Hamano1-0/+31
2018-05-22Sync with Git 2.13.7Junio C Hamano1-0/+31
2018-05-21submodule-config: verify submodule names as pathsJeff King1-0/+31
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-05-08Merge branch 'sb/submodule-move-nested'Junio C Hamano1-18/+11
2018-05-02submodule-config: convert structures to object_idbrian m. carlson1-33/+33
2018-03-29submodule-config: remove submodule_from_cacheStefan Beller1-9/+0
2018-03-29submodule-config: add repository argument to submodule_from_{name, path}Stefan Beller1-6/+8
2018-03-29submodule-config: allow submodule_free to handle arbitrary repositoriesStefan Beller1-3/+3
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+1
2018-02-14Correct mispellings of ".gitmodule" to ".gitmodules"Robert P. J. Day1-2/+2
2017-08-26Merge branch 'bw/submodule-config-cleanup'Junio C Hamano1-12/+53
2017-08-22Merge branch 'ma/parse-maybe-bool'Junio C Hamano1-3/+3
2017-08-22Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-0/+8
2017-08-11Merge branch 'sb/hashmap-cleanup'Junio C Hamano1-6/+12
2017-08-11Merge branch 'bc/object-id'Junio C Hamano1-19/+19
2017-08-07treewide: deprecate git_config_maybe_bool, use git_parse_maybe_boolMartin Ågren1-2/+2
2017-08-03submodule-config: lazy-load a repository's .gitmodules fileBrandon Williams1-5/+22
2017-08-03submodule-config: move submodule-config functions to submodule-config.cBrandon Williams1-7/+31
2017-08-02Merge branch 'bc/object-id' into bw/submodule-config-cleanupJunio C Hamano1-19/+19
2017-08-02submodule: remove submodule.fetchjobs from submodule-config parsingBrandon Williams1-0/+8
2017-07-17submodule: convert submodule config lookup to use object_idbrian m. carlson1-19/+19
2017-07-13Merge branch 'sb/pull-rebase-submodule'Junio C Hamano1-0/+22
2017-07-13Merge branch 'sb/hashmap-customize-comparison'Junio C Hamano1-6/+8
2017-07-05submodule-config.c: drop hashmap_cmp_fn castStefan Beller1-6/+12
2017-06-30hashmap.h: compare function has access to a data fieldStefan Beller1-6/+8
2017-06-23submodule-config: store the_submodule_cache in the_repositoryBrandon Williams1-18/+52
2017-06-23builtin/fetch: factor submodule recurse parsing out to submodule configStefan Beller1-0/+22
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-03-28Merge branch 'sb/checkout-recurse-submodules'Junio C Hamano1-0/+20
2017-03-21Merge branch 'sb/submodule-config-parse-ignore-fix'Junio C Hamano1-1/+1
2017-03-15update submodules: add submodule config parsingStefan Beller1-0/+20
2017-03-15submodule-config: correct error reporting for invalid ignore valueStefan Beller1-1/+1
2017-01-31Merge branch 'bw/push-submodule-only'Junio C Hamano1-0/+2
2017-01-18Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-1/+1
2016-12-22submodules: load gitmodules file from commit sha1Brandon Williams1-3/+3
2016-12-20submodules: add RECURSE_SUBMODULES_ONLY valueBrandon Williams1-0/+2
2016-11-22submodule-config: rename commit_sha1 to treeish_nameStefan Beller1-23/+23
2016-11-22submodule config: inline config_from_{name, path}Stefan Beller1-14/+2
2016-08-10Merge branch 'sb/submodule-update-dot-branch'Junio C Hamano1-1/+10
2016-08-08Merge branch 'va/i18n'Junio C Hamano1-1/+1
2016-08-03Merge branch 'rs/submodule-config-code-cleanup'Junio C Hamano1-16/+16
2016-08-01submodule-config: keep configured branch aroundStefan Beller1-1/+10
2016-07-28submodule-config: combine early return code into one gotoHeiko Voigt1-19/+12
2016-07-28submodule-config: passing name reference for .gitmodule blobsHeiko Voigt1-9/+17
2016-07-28i18n: config: unfold error messages marked for translationVasco Almeida1-1/+1
2016-07-19Merge branch 'bc/cocci'Junio C Hamano1-1/+1
2016-07-19submodule-config: use explicit empty string instead of strbuf in config_from()René Scharfe1-2/+1
2016-06-28coccinelle: convert hashcpy() with null_sha1 to hashclr()brian m. carlson1-1/+1
2016-05-27submodule-config: keep shallow recommendation aroundStefan Beller1-0/+9
2016-05-18Merge branch 'sb/misc-cleanups' into HEADJunio C Hamano1-6/+6
2016-05-10Merge branch 'sb/misc-cleanups'Junio C Hamano1-6/+6
2016-04-29Merge branch 'ak/use-hashmap-iter-first-in-submodule-config' into maintJunio C Hamano1-2/+1
2016-04-28submodule-config: don't shadow `cache`Stefan Beller1-6/+6
2016-04-13Merge branch 'ak/use-hashmap-iter-first-in-submodule-config'Junio C Hamano1-2/+1
2016-04-06Merge branch 'sb/submodule-parallel-update'Junio C Hamano1-3/+16
2016-03-23submodule-config: use hashmap_iter_first()Alexander Kuleshov1-2/+1
2016-03-01submodule-config: drop check against NULLStefan Beller1-3/+3
2016-03-01submodule-config: keep update strategy aroundStefan Beller1-0/+13
2016-02-22config: add 'origin_type' to config_source structLars Schneider1-2/+2
2016-02-19rename git_config_from_buf to git_config_from_memLars Schneider1-1/+1
2015-11-20push: add recurseSubmodules config optionMike Crowe1-0/+29
2015-10-12submodule-config: "goto" removal in parse_config()Stefan Beller1-45/+29
2015-08-19submodule: allow erroneous values for the fetchRecurseSubmodules optionHeiko Voigt1-1/+28
2015-08-19submodule: use new config API for worktree configurationsHeiko Voigt1-0/+12
2015-08-19submodule: implement a config API for lookup of .gitmodules valuesHeiko Voigt1-0/+443