Skip to content

feat(cmd): allow implicit branch-relative pr reopen#460

Merged
barrettruth merged 1 commit intomainfrom
feature/implicit-pr-reopen
Apr 27, 2026
Merged

feat(cmd): allow implicit branch-relative pr reopen#460
barrettruth merged 1 commit intomainfrom
feature/implicit-pr-reopen

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

@barrettruth barrettruth commented Apr 27, 2026

Problem

:Forge pr reopen still required an explicit PR number, so reopening a closed PR from the current branch was inconsistent with the rest of the implicit branch-relative PR workflow.

Solution

Fixes #454 by resolving omitted-subject :Forge pr reopen through the existing branch-relative PR resolver with a closed-only policy, repo= / head= disambiguation, and updated docs/tests while keeping explicit {num} reopen unchanged.

Keep `:Forge pr reopen` aligned with the other implicit branch-relative PR
commands so a closed PR can be reopened from the current branch without
remembering its number.
@barrettruth barrettruth merged commit bf5ae42 into main Apr 27, 2026
3 checks passed
@barrettruth barrettruth deleted the feature/implicit-pr-reopen branch April 27, 2026 18:12
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.

cmd: let implicit pr reopen target the current branch's closed PR

1 participant