Avoid submodule overwritten and skip redundant active entries
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 8 repliesIn review
- v7 posting 2/22 patches 5 repliesSuperseded
- v7 posting 1/22 patches 1 replySuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 2 patches | 1 reply | Superseded | |
| v5 | 1 patch | 4 replies | Superseded | |
| v4 | 1 patch | 1 reply | Superseded | |
| v3 | 1 patch | 2 replies | Superseded | |
| v2 | 1 patch | 1 reply | Superseded | |
| v1 | 1 patch | 3 replies | Superseded |
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | submodule: prevent overwriting .gitmodules entry on path reusebuiltin/ t/ | +51 | 3 replies | |
| 2/2 | submodule: skip redundant active entries when pattern covers pathbuiltin/ t/ | +36 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.
Cover letter [PATCH v8 0/2] Avoid submodule overwritten and skip redundant active entries
The first patch i.e. prevent overwriting .gitmodules entry on path reuse is exactly the same
The second patch however i.e.
skip redundant active entries when pattern covers path has changed logic
with the helper function being code maintainance because of the duplicated logic. I've tried to wrap it as much as possible to it's own core need without having to change it unless the core way of submodules addition and active status itself changes.
The CI was tested in which
the only compiler error I found was
osx-gcc
Which I suppose is already addressed,
apart from this all of the other tests
ran successfully which includes the
t7413 (prvious 9) and the new one.
K Jayatheerth (2):
submodule: prevent overwriting .gitmodules entry on path reuse
submodule: skip redundant active entries when pattern covers path
builtin/submodule--helper.c | 60 +++++++++++++++++++++++++++------- t/t7400-submodule-basic.sh | 23 +++++++++++++ t/t7413-submodule-is-active.sh | 15 +++++++++ 3 files changed, 87 insertions(+), 11 deletions(-)
Signature · 1 line
2.49.GIT