Skip to content

feat: add automatic stale trailer resync for subtree updates#15

Merged
csjones merged 1 commit into
mainfrom
FIX-STALE-TRAILERS
Mar 4, 2026
Merged

feat: add automatic stale trailer resync for subtree updates#15
csjones merged 1 commit into
mainfrom
FIX-STALE-TRAILERS

Conversation

@csjones

@csjones csjones commented Mar 4, 2026

Copy link
Copy Markdown
Contributor
  • Added expectedCommit parameter to GitOperations.subtreePull() for stale trailer detection
  • Implemented stale trailer detection comparing split hash against config commit
  • Added missing trailer detection to create resync from config when no trailers exist
  • Enhanced AddCommand to capture upstream commit hash from split trailer instead of local HEAD
  • Added fallback to HEAD for backward compatibility when split info unavailable

- Added expectedCommit parameter to GitOperations.subtreePull() for stale trailer detection
- Implemented stale trailer detection comparing split hash against config commit
- Added missing trailer detection to create resync from config when no trailers exist
- Enhanced AddCommand to capture upstream commit hash from split trailer instead of local HEAD
- Added fallback to HEAD for backward compatibility when split info unavailable
@csjones csjones merged commit c90811c into main Mar 4, 2026
2 checks passed
@csjones csjones deleted the FIX-STALE-TRAILERS branch March 4, 2026 00:33
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