Submodules: refactoring the `module_list` function
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | submodule: implement `module_list` as a builtin helperMakefile builtin.h builtin/ +1 more | +102 | 7 replies | |
| 2/2 | Testing the new codegit-submodule.sh | +24 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC/PATCH 0/2] Submodules: refactoring the `module_list` function
Hi,
so eventually we want to have the whole Android project inside a git repository, which includes > 500 submodules for the different sub systems. To make that feasable we want to improve git-submodule for a huge set of submodules such as parallelizing git submodule update. As a first step I was toying around the module_list function as that is one key component for all the submodule operations. Also that part of the code is where the operations are split up to the different submodules, so that would be the natural place where we'd approach introducing threads later on.
This is an early RFC as it breaks the test suite. I do not remember ever interacting with pathspecs or cache entries before, so I'd appreciate some guiding comments. (Am I holding it wrong? Also the git code base seems large, it's easy to find new playgrounds :)
Thanks,
Stefan
Stefan Beller (2):
submodule: implement module_list as a builtin helper Testing the new code
Makefile | 1 + builtin.h | 1 + builtin/submodule--helper.c | 99 +++++++++++++++++++++++++++++++++++++++++++++ git-submodule.sh | 25 +++++++++++- git.c | 1 + 5 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 builtin/submodule--helper.c
Signature · 1 line
2.5.0.5.gf4cd9ae.dirty