← Back to list
01Issue
FeatureClosedExtensionsPublic
AssigneesNone
Relationships
#1885 Add a Git ancestry check method
Opened by funsaized · 8/28/2026
Please add a read-only is_ancestor method that accepts ancestor and descendant refs, runs git merge-base --is-ancestor, and returns structured ancestry data. This lets verification workflows fail fast when a source commit is not based on the current remote main ref.
Upstream repository: https://github.com/swamp-club/swamp-extensions
Environment
- Extension:
@swamp/git@2026.08.25.1 - swamp:
20260827.184833.0-sha.ce230776 - OS:
darwin(aarch64) - Deno:
2.8.3 - Shell:
/bin/zsh
02Bog Flow
Closed
No activity in this phase yet.
03Sludge Pulse
Editable. Press Enter to edit.
stack72 commented 8/28/2026, 5:40:04 PM
Implemented in @swamp/git@2026.08.28.1 — new is_ancestor method wrapping git merge-base --is-ancestor. Returns structured { ancestor, descendant, isAncestor } so verification workflows can fail fast on ancestry checks. PR: #241
Sign in to post a ripple.