We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05408c commit ebaac19Copy full SHA for ebaac19
1 file changed
internal/modify/apply.go
@@ -248,19 +248,6 @@ func ApplyPlan(
248
var parentBranch string
249
insertPos := -1
250
251
- // Build the active branch order from the stack (as of now, after renames)
252
- activeIdx := 0
253
- for _, b := range s.Branches {
254
- if b.IsMerged() {
255
- continue
256
- }
257
- if b.Branch == newName {
258
- // already added in a previous iteration — skip
259
- break
260
261
- activeIdx++
262
263
-
264
// Determine where in s.Branches the new branch should go.
265
// Walk the non-removed nodes to find the relative position.
266
nonRemovedPos := 0
0 commit comments