We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 647c3f2 commit 6547aadCopy full SHA for 6547aad
git-stacked-rebase.ts
@@ -703,7 +703,7 @@ async function createInitialEditTodoOfGitStackedRebase(
703
const rebaseTodo = commitsWithBranchBoundaries
704
.map(({ commit, branchEnd }, i) => {
705
if (i === 0) {
706
- assert(!!branchEnd, "very first commit has a branch.");
+ assert(!!branchEnd, `very first commit has a branch (${commit.sha()}).`);
707
708
// return [];
709
return [
@@ -716,7 +716,7 @@ async function createInitialEditTodoOfGitStackedRebase(
716
}
717
718
if (i === commitsWithBranchBoundaries.length - 1) {
719
- assert(!!branchEnd, "very last commit has a branch.");
+ assert(!!branchEnd, `very last commit has a branch. sha = ${commit.sha()}`);
720
721
722
`pick ${commit.sha()} ${commit.summary()}`,
0 commit comments