PR command publishes later PRs in the stack

Open
#6 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reproducing the behavior with git stack pr -p on the first branch of a stack, then compare it with the behavior when --all is passed. Trace the PR publishing command's stack traversal and verify whether later branches are only published or also have PRs created; done means -p handles only the requested branch while --all retains its broader behavior.

Written by the indexing model from the issue text.

Description

bug

If you git stack pr -p on the first branch of a stack, it will also publish all of the PRs for later branches even though I didn't pass --all. It's possible that this also would create PRs for those later branches (I don't think so?). Need to investigate that as well.

Dominant language
Python
Stars
17
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stevearc/gitstack

All issues in stevearc/gitstack

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.