microsoft / microsoft/vscode-pull-request-github
Deleting a branch auto-closes any PRs targeting the deleted branch
@alexr00 已经在做这个了。
开始于 2025年5月8日。
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 796
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
I have a pull request targeting my default branch from branch A, and I have a PR for branch B targeting branch A.
When I merge the PR for branch A into my default branch and delete branch A on local and remote from the Pull Request description view in VSCode, my PR for branch B targeting branch A is closed and cannot be reopened. I have to create a new PR targeting my default branch from branch B and I lose all history of comments and reviews that were in the original PR for branch B.
When I do the same process in the Github.com web console, the PR for branch B targeting branch A automatically gets updated to target my default branch when I merge and delete branch A.
- Extension version: 0.108.0
- VSCode Version: 1.99.1
- OS: Mac OS Version 15.4 (24E248)
- Repository Clone Configuration (single repository/fork of an upstream repository): single repository
- Github Product (Github.com/Github Enterprise version x.x.x): Github.com
Steps to Reproduce:
- Create a PR on branch A with a target of default branch
- Create a PR on branch B with a target of branch A
- Merge the PR for branch A into default branch
- Delete branch A on local and remote
- Observe that PR for branch B is now closed and cannot be reopened
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。