We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48979aa commit 198034cCopy full SHA for 198034c
git-stacked-rebase.ts
@@ -1344,7 +1344,14 @@ async function extendCommitsWithBranchEnds(
1344
(matchedRefs = matchedRefs.some((r) => r?.name() === initialBranch.name())
1345
? [initialBranch]
1346
: matchedRefs.filter((r) => !r?.isRemote() /* r?.name().includes("refs/heads/") */)),
1347
- assert(matchedRefs.length <= 1, "refs/heads/ and refs/remotes/*/ replacement went wrong"),
+ assert(
1348
+ matchedRefs.length <= 1,
1349
+ "refs/heads/ and refs/remotes/*/ replacement went wrong." +
1350
+ bullets(
1351
+ "\nmatchedRefs:",
1352
+ matchedRefs.map((r) => r.toString())
1353
+ )
1354
+ ),
1355
{
1356
commit: c,
1357
commitCommand: commandOrAliasNames[i] || "pick",
0 commit comments