RFC Parallel submodule status
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Make read_gitfile and resolve_gitfile thread safebuiltin/ builtin/ repository.c +4 more | +76 | 6 replies | |
| 2/3 | Make ce_compare_gitlink thread-safeconfig.c config.h refs.c | +12 | 7 replies | |
| 3/3 | Preload submodule state in refresh_indexpreload-index.c read-cache-ll.h read-cache.c | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Parallel submodule status
This set tries to speed up git status (and other commands which examine the tree state) for repositories with many submodules.
Currently, submodules, unlike regular files, are examined serially despite the expense of this operation. Fsmonitor also doesn't support submodules, so there isn't a great alternative here.
Atneya Nair (3):
Make read_gitfile and resolve_gitfile thread safe Make ce_compare_gitlink thread-safe Preload submodule state in refresh_index
builtin/init-db.c | 7 ++++--- builtin/rev-parse.c | 4 +++- config.c | 3 ++- config.h | 2 +- preload-index.c | 25 ++++++++++++++++++++++--- read-cache-ll.h | 1 + read-cache.c | 3 +++ refs.c | 9 +++++++++ repository.c | 9 +++++---- setup.c | 36 +++++++++++++++++++++++++----------- setup.h | 7 +++---- submodule.c | 32 +++++++++++++++++++++++--------- worktree.c | 27 +++++++++++++-------------- 13 files changed, 114 insertions(+), 51 deletions(-)
base-commit: f41f85c9ec8d4d46de0fd5fded88db94d3ec8c11
Signature · 1 line
2.44.0.rc1.240.g4c46232300-goog