Skip to content

Commit ee5687d

Browse files
committed
fixup: use proper branch names kek
Signed-off-by: Kipras Melnikovas <[email protected]>
1 parent 53be4ac commit ee5687d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

git-stacked-rebase.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -905,16 +905,14 @@ async function createInitialEditTodoOfGitStackedRebase(
905905

906906
return [
907907
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
908-
// `branch-end-last ${branchEnd.name()}`, //
909-
`branch-end-last ${initialBranch.name()}`,
908+
`branch-end-last ${currentBranch.name()}`, //
910909
];
911910
}
912911

913912
if (branchEnd?.length) {
914913
return [
915914
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
916-
// `branch-end ${branchEnd.name()}`, //
917-
`branch-end ${currentBranch.name()}`, //
915+
...branchEnd.map((x) => `branch-end ${x.name()}`), //
918916
];
919917
}
920918

0 commit comments

Comments
 (0)