Record the three unresolved branches instead of guessing - #42
Merged
Conversation
Three remote branches are neither merged into main nor known to be obsolete, so git branch --merged will never retire them and the question comes back to whoever next tidies the repository. They belong to the af8fb02 line, whose four pull requests were absorbed by a separate reconciliation rather than merged directly. main is BELIEVED to contain their substance. Nobody has proven it, and this note says so plainly rather than implying the matter is settled. Deleting a remote branch that is not an ancestor of main is not reversible for anyone else, and keeping one costs nothing, so the trade favours leaving them. Proving equivalence is archaeology that needs judgement per branch, and nobody needs these branches today. The next person now meets a recorded fact instead of a puzzle, and knows what would have to be true before deleting is safe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs only. cos asked for this after I declined to delete three branches on a guess.
What this records
Three
originbranches are neither merged intomainnor known to be obsolete:mainagent/production-sync-scan-countersagent/reliable-shell-sync-noopagent/suppress-sync-self-eventsNone is an ancestor of
main, sogit branch --mergedwill never list them and the question returns to whoever next tidies the repo.They belong to the
af8fb02line (#25, #26, #28, #29), which was absorbed by a separate reconciliation rather than merged directly.mainis believed to contain their substance.Nobody has proven that, and the note says so plainly rather than implying the matter is settled. A three-dot diff answers nothing here — it shows divergence from a shared ancestor, not missing behaviour.
Why not just delete them
Deleting a remote branch that is not an ancestor of
mainis not reversible for anyone but whoever still holds it locally. Keeping a branch costs nothing. Tidiness is not worth an irreversible action on evidence that is only probably right.Verifying equivalence is archaeology needing judgement per branch, and nobody needs these branches today, so that cost has not been paid.
Where it lives
docs/unresolved-branches.md, linked from the README's development section — so the pointer sits where someone tidying branches would actually look, not only in a file they would have to already know about.