Skip to content

Commit f393b27

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

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

10201020
return [
10211021
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
1022-
// `branch-end-last ${branchEnd.name()}`, //
1023-
`branch-end-last ${initialBranch.name()}`,
1022+
`branch-end-last ${currentBranch.name()}`, //
10241023
];
10251024
}
10261025

10271026
if (branchEnd?.length) {
10281027
return [
10291028
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
1030-
// `branch-end ${branchEnd.name()}`, //
1031-
`branch-end ${currentBranch.name()}`, //
1029+
...branchEnd.map((x) => `branch-end ${x.name()}`), //
10321030
];
10331031
}
10341032

0 commit comments

Comments
 (0)