Skip to content

Commit a4ac6f0

Browse files
committed
fixup: use proper branch names kek
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 0ec0d4d commit a4ac6f0

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
@@ -910,16 +910,14 @@ async function createInitialEditTodoOfGitStackedRebase(
910910

911911
return [
912912
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
913-
// `branch-end-last ${branchEnd.name()}`, //
914-
`branch-end-last ${initialBranch.name()}`,
913+
`branch-end-last ${currentBranch.name()}`, //
915914
];
916915
}
917916

918917
if (branchEnd?.length) {
919918
return [
920919
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
921-
// `branch-end ${branchEnd.name()}`, //
922-
`branch-end ${currentBranch.name()}`, //
920+
...branchEnd.map((x) => `branch-end ${x.name()}`), //
923921
];
924922
}
925923

0 commit comments

Comments
 (0)