aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-15config: add --comment option to add a commentRalph Seichter1-1/+1
2024-03-11Merge branch 'js/merge-base-with-missing-commit'Junio C Hamano1-1/+6
2024-02-29commit-reach(repo_get_merge_bases): pass on "missing commits" errorsJohannes Schindelin1-1/+6
2024-02-26submodule: use strvec_pushf() for --submodule-prefixRené Scharfe1-15/+4
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-3/+0
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
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-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+3
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-1/+5
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-4/+4
2023-04-06Merge branch 'ab/config-multi-and-nonbool'Junio C Hamano1-2/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-4/+4
2023-03-28config API: add "string" version of *_value_multi(), fix segfaultsÆvar Arnfjörð Bjarmason1-1/+1
2023-03-28config API: have *_multi() return an "int" and take a "dest"Ævar Arnfjörð Bjarmason1-2/+1
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+4
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-03-21treewide: remove unnecessary cache.h inclusion from a few headersElijah Newren1-1/+1
2023-03-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano1-2/+2
2023-02-24run_processes_parallel: mark unused callback parametersJeff King1-2/+2
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-2/+2
2023-01-05Merge branch 'ab/no-more-git-global-super-prefix'Junio C Hamano1-27/+23
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-19/+10
2022-12-26submodule--helper: don't use global --super-prefix in "absorbgitdirs"Ævar Arnfjörð Bjarmason1-5/+7
2022-12-26submodule.c & submodule--helper: pass along "super_prefix" paramÆvar Arnfjörð Bjarmason1-6/+9
2022-12-13diff: mark unused parameters in callbacksJeff King1-1/+1
2022-11-23Merge branch 'jt/submodule-on-demand'Junio C Hamano1-0/+6
2022-11-14Doc: document push.recurseSubmodules=onlyJonathan Tan1-0/+6
2022-11-08submodule API & "absorbgitdirs": remove "----recursive" optionÆvar Arnfjörð Bjarmason1-10/+3
2022-11-08submodule.c: refactor recursive block out of absorb functionÆvar Arnfjörð Bjarmason1-12/+18
2022-10-30Merge branch 'rs/absorb-git-dir-simplify'Taylor Blau1-9/+3
2022-10-23submodule: use strvec_pushf() for --super-prefixRené Scharfe1-9/+3
2022-10-12run-command API: move *_tr2() users to "run_processes_parallel()"Ævar Arnfjörð Bjarmason1-6/+12
2022-09-14Merge branch 'ab/unused-annotation'Junio C Hamano1-6/+6
2022-09-14Merge branch 'jk/unused-annotation'Junio C Hamano1-5/+8
2022-09-02submodule API: don't handle SM_..{UNSPECIFIED,COMMAND} in to_string()Ævar Arnfjörð Bjarmason1-7/+5
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-6/+6
2022-08-19config: mark unused callback parametersJeff King1-1/+2
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-4/+6
2022-07-18Merge branch 'ab/leakfix'Junio C Hamano1-1/+2
2022-07-01submodule.c: free() memory from xgetcwd()Ævar Arnfjörð Bjarmason1-1/+2
2022-06-28submodule--helper: rename "absorb-git-dirs" to "absorbgitdirs"Ævar Arnfjörð Bjarmason1-1/+1
2022-06-10Merge branch 'ab/env-array'Junio C Hamano1-19/+19
2022-06-07Merge branch 'ab/plug-leak-in-revisions'Junio C Hamano1-5/+6
2022-06-02run-command API: rename "env_array" to "env"Ævar Arnfjörð Bjarmason1-19/+19
2022-04-13revisions API users: use release_revisions() needing REV_INFO_INITÆvar Arnfjörð Bjarmason1-1/+2
2022-04-13revisions API users: add straightforward release_revisions()Ævar Arnfjörð Bjarmason1-0/+2
2022-04-13cocci: add and apply free_commit_list() rulesÆvar Arnfjörð Bjarmason1-4/+2
2022-03-29Merge branch 'jt/reset-grafts-when-resetting-shallow'Junio C Hamano1-0/+1
2022-03-17shallow: reset commit grafts when shallow is resetJonathan Tan1-0/+1
2022-03-16submodule: fix latent check_has_commit() bugGlen Choo1-33/+2
2022-03-16fetch: fetch unpopulated, changed submodulesGlen Choo1-16/+177
2022-03-07submodule: move logic into fetch_task_create()Glen Choo1-47/+52
2022-03-07submodule: extract get_fetch_task()Glen Choo1-25/+36
2022-03-07submodule: store new submodule commits oid_array in a structGlen Choo1-18/+34
2022-03-07submodule: inline submodule_commits() into callerGlen Choo1-16/+6
2022-03-07submodule: make static functions read submodules from commitsGlen Choo1-10/+19
2022-02-04branch: add --recurse-submodules option for branch creationGlen Choo1-2/+9
2021-10-25Merge branch 'jt/no-abuse-alternate-odb-for-submodules'Junio C Hamano1-3/+15
2021-10-13Merge branch 'en/removing-untracked-fixes'Junio C Hamano1-0/+1
2021-10-11Merge branch 'ab/designated-initializers'Junio C Hamano1-3/+5
2021-10-08submodule: trace adding submodule ODB as alternateJonathan Tan1-0/+2
2021-10-08submodule: pass repo to check_has_commit()Jonathan Tan1-3/+13
2021-10-06Merge branch 'jt/add-submodule-odb-clean-up'Junio C Hamano1-19/+5
2021-09-28Merge branch 'jk/ref-paranoia' into jt/no-abuse-alternate-odb-for-submodulesJunio C Hamano1-22/+55
2021-09-27*.h: move some *_INIT to designated initializersÆvar Arnfjörð Bjarmason1-3/+5
2021-09-27Comment important codepaths regarding nuking untracked files/dirsElijah Newren1-0/+1
2021-09-23Merge branch 'jt/submodule-name-to-gitdir'Junio C Hamano1-22/+55
2021-09-22Merge branch 'jt/add-submodule-odb-clean-up' into jt/no-abuse-alternate-odb-f...Junio C Hamano1-19/+5
2021-09-20Merge branch 'ar/submodule-add-config'Junio C Hamano1-0/+5
2021-09-20Merge branch 'dt/submodule-diff-fixes'Junio C Hamano1-1/+13
2021-09-15submodule: extract path to submodule gitdir funcJonathan Tan1-22/+55
2021-09-09repository: support unabsorbed in repo_submodule_initJonathan Tan1-6/+3
2021-09-09submodule: remove unnecessary unabsorbed fallbackJonathan Tan1-13/+2
2021-09-08grep: use submodule-ODB-as-alternate lazy-additionJonathan Tan1-0/+5
2021-09-08submodule: lazily add submodule ODBs as alternatesJonathan Tan1-1/+19
2021-08-31diff --submodule=diff: don't print failure message twiceDavid Turner1-1/+3
2021-08-31diff --submodule=diff: do not fail on ever-initialied deleted submodulesDavid Turner1-0/+10
2021-08-10submodule--helper: introduce add-config subcommandAtharva Raykar1-0/+5
2021-06-28run-command: refactor subprocess env preparationJonathan Tan1-16/+2
2021-06-28submodule: refrain from filtering GIT_CONFIG_COUNTJonathan Tan1-1/+2
2021-05-10Merge branch 'bc/hash-transition-interop-part-1'Junio C Hamano1-12/+14
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-12/+14
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee1-3/+3
2021-01-25Merge branch 'sj/untracked-files-in-submodule-directory-is-not-dirty'Junio C Hamano1-0/+1
2020-12-09submodules: fix of regression on fetching of non-init subsub-repoPeter Kaestle1-1/+6
2020-12-08diff: do not show submodule with untracked files as "-dirty"Sangeeta Jain1-0/+1
2020-10-05Merge branch 'so/combine-diff-simplify'Junio C Hamano1-1/+2
2020-09-29diff: get rid of redundant 'dense' argumentSergey Organov1-1/+2
2020-09-18Merge branch 'mf/submodule-summary-with-correct-repository'Junio C Hamano1-5/+6
2020-09-18Merge branch 'os/collect-changed-submodules-optim'Junio C Hamano1-1/+8
2020-09-09Merge branch 'ss/submodule-summary-in-c'Junio C Hamano1-5/+5
2020-09-06submodule: suppress checking for file name and ref ambiguity for object idsOrgad Shaneh1-1/+8
2020-09-03Merge branch 'jc/run-command-use-embedded-args'Junio C Hamano1-9/+4
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-2/+2
2020-08-26run_command: teach API users to use embedded 'args' moreJunio C Hamano1-9/+4
2020-08-14config: fix leaks from git_config_get_string_const()Jeff King1-2/+2
2020-08-12submodule: rename helper functions to avoid ambiguityShourya Shukla1-5/+5
2020-07-30strvec: rename struct fieldsJeff King1-7/+7
2020-07-28strvec: fix indentation in renamed callsJeff King1-15/+15
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-89/+89
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-06-24submodule: use submodule repository when preparing summaryMichael Forney1-4/+4
2020-04-22Merge branch 'jk/oid-array-cleanups'Junio C Hamano1-1/+1
2020-03-30oid_array: rename source file from sha1-arrayJeff King1-1/+1
2020-03-10get_superproject_working_tree(): return strbufAlexandr Miloslavskiy1-9/+8
2020-03-10real_path_if_valid(): remove unsafe APIAlexandr Miloslavskiy1-3/+4
2020-03-10real_path: remove unsafe APIAlexandr Miloslavskiy1-1/+3
2020-02-12Merge branch 'es/submodule-fetch-message-fix'Junio C Hamano1-1/+1
2020-02-12Merge branch 'dt/submodule-rm-with-stale-cache'Junio C Hamano1-1/+1
2020-02-07submodule: add newline on invalid submodule errorEmily Shaffer1-1/+1
2020-02-05Merge branch 'pb/recurse-submodule-in-worktree-fix'Junio C Hamano1-3/+3
2020-02-05Merge branch 'es/fetch-show-failed-submodules-atend'Junio C Hamano1-4/+15
2020-01-28git rm submodule: succeed if .gitmodules index stat info is zeroDavid Turner1-1/+1
2020-01-22submodule.c: use get_git_dir() instead of get_git_common_dir()Philippe Blain1-3/+3
2020-01-17fetch: emphasize failure during submodule fetchEmily Shaffer1-4/+15
2020-01-16submodule.c: mark more strings for translationRalf Thielow1-14/+14
2019-12-06Sync with 2.22.2Johannes Schindelin1-2/+47
2019-12-06Sync with 2.21.1Johannes Schindelin1-2/+47
2019-12-06Sync with 2.20.2Johannes Schindelin1-2/+47
2019-12-06Sync with 2.19.3Johannes Schindelin1-2/+47
2019-12-06Sync with 2.18.2Johannes Schindelin1-2/+47
2019-12-06Sync with 2.17.3Johannes Schindelin1-2/+47
2019-12-06Sync with 2.16.6Johannes Schindelin1-2/+47
2019-12-06Sync with 2.15.4Johannes Schindelin1-2/+47
2019-12-06Sync with 2.14.6Johannes Schindelin1-2/+47
2019-12-05Disallow dubiously-nested submodule git directoriesJohannes Schindelin1-2/+47
2019-05-13submodule: drop unused prefix parameter from some functionsJeff King1-6/+4
2019-04-25Merge branch 'bc/hash-transition-16'Junio C Hamano1-1/+1
2019-04-10Merge branch 'jt/submodule-fetch-errmsg'Junio C Hamano1-0/+7
2019-04-01submodule: avoid hard-coded constantsbrian m. carlson1-1/+1
2019-03-14submodule: explain first attempt failure clearlyJonathan Tan1-0/+7
2019-03-07Merge branch 'nd/completion-more-parameters'Junio C Hamano1-0/+4
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-5/+6
2019-02-20completion: add more parameter value completionNguyễn Thái Ngọc Duy1-0/+4
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-1/+0
2019-02-05Merge branch 'sb/more-repo-in-api'Junio C Hamano1-18/+60
2019-01-29Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'Junio C Hamano1-45/+239
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-1/+0
2018-12-28submodule: don't add submodule as odb for pushStefan Beller1-3/+0
2018-12-28submodule: use submodule repos for object lookupStefan Beller1-15/+60
2018-12-26submodule: unset core.worktree if no working tree is presentStefan Beller1-0/+14
2018-12-09fetch: ensure submodule objects fetchedStefan Beller1-29/+177
2018-12-05submodule.c: fetch in submodules git directory instead of in worktreeStefan Beller1-2/+8
2018-12-05submodule: migrate get_next_submodule to use repository structsStefan Beller1-12/+44
2018-12-05submodule: store OIDs in changed_submodule_namesStefan Beller1-9/+10
2018-12-05submodule.c: tighten scope of changed_submodule_names structStefan Beller1-8/+11
2018-12-05submodule.c: sort changed_submodule_names before searching itStefan Beller1-1/+2
2018-12-05submodule.c: fix indentationStefan Beller1-3/+6
2018-11-21Merge branch 'sm/show-superproject-while-conflicted' into maintJunio C Hamano1-1/+1
2018-11-21Merge branch 'bp/mv-submodules-with-fsmonitor' into maintJunio C Hamano1-2/+1
2018-11-13Merge branch 'ao/submodule-wo-gitmodules-checked-out'Junio C Hamano1-7/+21
2018-10-22submodule.c: remove some of the_repository referencesNguyễn Thái Ngọc Duy1-25/+32
2018-10-19Merge branch 'sm/show-superproject-while-conflicted'Junio C Hamano1-1/+1
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-14/+20
2018-10-09submodule: add a helper to check if it is safe to write to .gitmodulesAntonio Ospite1-0/+18
2018-10-09submodule: factor out a config_set_in_gitmodules_file_gently functionAntonio Ospite1-7/+3
2018-09-28rev-parse: --show-superproject-working-tree should work during a mergeSam McKelvie1-1/+1
2018-09-24Merge branch 'bp/mv-submodules-with-fsmonitor'Junio C Hamano1-2/+1
2018-09-21revision.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-3/+3
2018-09-21submodule.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-11/+17
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-1/+1
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+1
2018-09-12git-mv: allow submodules and fsmonitor to work togetherBen Peart1-2/+1
2018-09-07Revert "Merge branch 'sb/submodule-core-worktree'"Jonathan Nieder1-14/+0
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-1/+1
2018-08-13submodule.c: use the right index instead of the_indexNguyễn Thái Ngọc Duy1-4/+4
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-08-02Merge branch 'sb/object-store-lookup'Junio C Hamano1-2/+2
2018-07-24Merge branch 'sb/submodule-move-head-error-msg'Junio C Hamano1-1/+1
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-07-18Merge branch 'sb/submodule-core-worktree'Junio C Hamano1-0/+14
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-2/+2
2018-06-25submodule.c: report the submodule that an error occurs inStefan Beller1-1/+1
2018-06-14submodule: unset core.worktree if no working tree is presentStefan Beller1-0/+14
2018-06-14submodule: fix NULL correctness in renamed broken submodulesStefan Beller1-2/+4
2018-06-04Merge branch 'jt/submodule-pull-recurse-rebase'Junio C Hamano1-2/+4
2018-05-30Merge branch 'sb/submodule-merge-in-merge-recursive'Junio C Hamano1-166/+2
2018-05-30Merge branch 'bw/ref-prefix-for-configured-refspec'Junio C Hamano1-10/+9
2018-05-30Merge branch 'bc/object-id'Junio C Hamano1-3/+3
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-4/+4
2018-05-25submodule: do not pass null OID to setup_revisionsJonathan Tan1-2/+4
2018-05-23Merge branch 'sb/oid-object-info'Junio C Hamano1-1/+1
2018-05-18submodule: convert push_unpushed_submodules to take a struct refspecBrandon Williams1-10/+9
2018-05-16submodule.c: move submodule merging to merge-recursive.cStefan Beller1-166/+2
2018-05-08Merge branch 'sb/submodule-move-nested'Junio C Hamano1-19/+21
2018-05-06Convert remaining die*(BUG) messagesJohannes Schindelin1-1/+1
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-3/+3
2018-05-02submodule: convert several uses of EMPTY_TREE_SHA1_HEXbrian m. carlson1-3/+3
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-1/+1
2018-04-11Merge branch 'sb/object-store'Junio C Hamano1-0/+1