Closed drewdeponte closed 10 months ago
I think this is fine. We can't make any safe assumptions about the users intenent in this scenario. Therefore, they will have to clean it up the original branch in this scenario.
Closing this issue as it has been resolved and integrated into mainline.
This shouldn't be possible as we intend to require a non generated branch name for patch series.
It must have been an edge case that we missed.
Lets say that you previous created a branch for a single patch with
gps branch 1
.Then you do a
gps branch 1-3
. It will bring patches 2 and 3 into theps/rr/
branch that was created previously for patch 1.If we require a custom named branch for a patch series. We should reject adding the patches to the branch unless a custom branch name is also provided.
However, if they provide a custom branch name the patch that was originally in its own generated branch name will still exist and be associated to that generated branch as well as the named branch.