Skip to content

Commit

Permalink
fixup: use proper branch names kek
Browse files Browse the repository at this point in the history
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
  • Loading branch information
kiprasmel committed May 28, 2022
1 parent 0b9b2fa commit f393b27
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions git-stacked-rebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1019,16 +1019,14 @@ async function createInitialEditTodoOfGitStackedRebase(

return [
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
// `branch-end-last ${branchEnd.name()}`, //
`branch-end-last ${initialBranch.name()}`,
`branch-end-last ${currentBranch.name()}`, //
];
}

if (branchEnd?.length) {
return [
`${commitCommand} ${commit.sha()} ${commit.summary()}`,
// `branch-end ${branchEnd.name()}`, //
`branch-end ${currentBranch.name()}`, //
...branchEnd.map((x) => `branch-end ${x.name()}`), //
];
}

Expand Down

0 comments on commit f393b27

Please sign in to comment.