Show current branch name in merge success message
This commit is contained in:
parent
392d3c787b
commit
7e9d372d96
|
|
@ -115,7 +115,7 @@ export async function mergeAndClose(branch: string, opts?: { squash?: boolean; f
|
||||||
spin.text = "Generating commit message"
|
spin.text = "Generating commit message"
|
||||||
await squashCommit(branch, root)
|
await squashCommit(branch, root)
|
||||||
}
|
}
|
||||||
spin.succeed(`${label} ${branch} into current branch`)
|
spin.succeed(`${label} ${branch} into ${current}`)
|
||||||
if (session) await teardownSession(root, branch, session.worktree)
|
if (session) await teardownSession(root, branch, session.worktree)
|
||||||
await git.deleteLocalBranch(branch, root).catch(() => {})
|
await git.deleteLocalBranch(branch, root).catch(() => {})
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user