contrib/subtree: process out-of-prefix subtrees
Get series with b4
b4 am 20260217-cs-subtree-remove-optimization-v2-0-4299e71a30c6@howdoi.land change-id 20260217-cs-subtree-remove-optimization-aca442f748ebVersions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- remove incorrect newlines from commit message trailers
- patch diffs are unchanged
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | contrib/subtree: capture additional test-casescontrib/ | +110 | 0 replies | |
| 2/3 | contrib/subtree: test history depthcontrib/ | +16 | 0 replies | |
| 3/3 | contrib/subtree: process out-of-prefix subtreescontrib/ contrib/ | +65 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] contrib/subtree: process out-of-prefix subtrees
* cs/subtree-remove-optimization:
Remove an optimization that can exclude too much history during a "subtree split."
Remove an optimization introduced in 98ba49ccc2 (subtree: fix split processing with multiple subtrees present, 2023-12-01). The optimization incorrectly excludes commits from the split history that must be included.
The above commit, and my later attempt to fix it in 83f9dad7d6 (contrib/subtree: fix split with squashed subtrees, 2025-09-09), both introduce known regressions.
Improve test coverage for copy_or_skip, which will help detect future regressions.
---
Changes in v2:
- remove incorrect newlines from commit message trailers
- patch diffs are unchanged
---
Colin Stagner (3):
contrib/subtree: capture additional test-cases contrib/subtree: test history depth contrib/subtree: process out-of-prefix subtrees
contrib/subtree/git-subtree.sh | 50 +--------- contrib/subtree/t/t7900-subtree.sh | 198 +++++++++++++++++++++++++++++++++++-- 2 files changed, 190 insertions(+), 58 deletions(-)
---
base-commit: 852829b3dd2fe4e7c7fc4d8badde644cf1b66c74
change-id: 20260217-cs-subtree-remove-optimization-aca442f748eb
Best regards,
Signature · 1 line
Colin Stagner <[email protected]>