Skip to content

Commit 3e91b03

Browse files
committed
fixup: use proper branch names kek
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 90439c7 commit 3e91b03

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

10021002
return [
10031003
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
1004-
// `branch-end-last ${branchEnd.name()}`, //
1005-
`branch-end-last ${initialBranch.name()}`,
1004+
`branch-end-last ${currentBranch.name()}`, //
10061005
];
10071006
}
10081007

10091008
if (branchEnd?.length) {
10101009
return [
10111010
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
1012-
// `branch-end ${branchEnd.name()}`, //
1013-
`branch-end ${currentBranch.name()}`, //
1011+
...branchEnd.map((x) => `branch-end ${x.name()}`), //
10141012
];
10151013
}
10161014

0 commit comments

Comments
 (0)