Skip to content

Commit ebaac19

Browse files
committed
rm dead code
1 parent c05408c commit ebaac19

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

internal/modify/apply.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -248,19 +248,6 @@ func ApplyPlan(
248248
var parentBranch string
249249
insertPos := -1
250250

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-
264251
// Determine where in s.Branches the new branch should go.
265252
// Walk the non-removed nodes to find the relative position.
266253
nonRemovedPos := 0

0 commit comments

Comments
 (0)