Skip to content

feat: add automatic multi-trailer resync for subtree updates#13

Merged
csjones merged 1 commit into
mainfrom
FIX-MULTI-TRAILER
Mar 1, 2026
Merged

feat: add automatic multi-trailer resync for subtree updates#13
csjones merged 1 commit into
mainfrom
FIX-MULTI-TRAILER

Conversation

@csjones

@csjones csjones commented Mar 1, 2026

Copy link
Copy Markdown
Contributor
  • Added SubtreeSplitInfo struct to track split hash, multi-trailer status, and commit hash
  • Implemented findSubtreeSplitInfo() to detect commits with multiple git-subtree-dir trailers
  • Added createResyncCommit() to generate single-prefix trailer commits for split hash disambiguation
  • Enhanced subtreePull() with pre-flight multi-trailer detection and automatic resync
  • Added integration tests verifying resync behavior with multi-trailer merge

- Added SubtreeSplitInfo struct to track split hash, multi-trailer status, and commit hash
- Implemented findSubtreeSplitInfo() to detect commits with multiple git-subtree-dir trailers
- Added createResyncCommit() to generate single-prefix trailer commits for split hash disambiguation
- Enhanced subtreePull() with pre-flight multi-trailer detection and automatic resync
- Added integration tests verifying resync behavior with multi-trailer merge
@csjones csjones merged commit fbab2fb into main Mar 1, 2026
2 checks passed
@csjones csjones deleted the FIX-MULTI-TRAILER branch March 1, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant