Skip to content

Commit 778a714

Browse files
committed
TEMP
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 08ae30b commit 778a714

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

git-stacked-rebase.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,14 +1347,14 @@ async function extendCommitsWithBranchEnds(
13471347
(matchedRefs = matchedRefs.some((r) => r?.name() === initialBranch.name())
13481348
? [initialBranch]
13491349
: matchedRefs.filter((r) => !r?.isRemote() /* r?.name().includes("refs/heads/") */)),
1350-
assert(
1351-
matchedRefs.length <= 1,
1352-
"refs/heads/ and refs/remotes/*/ replacement went wrong." +
1353-
bullets(
1354-
"\nmatchedRefs:",
1355-
matchedRefs.map((r) => r.toString())
1356-
)
1357-
),
1350+
// assert(
1351+
// matchedRefs.length <= 1,
1352+
// "refs/heads/ and refs/remotes/*/ replacement went wrong." +
1353+
// bullets(
1354+
// "\nmatchedRefs:",
1355+
// matchedRefs.map((r) => r.toString())
1356+
// )
1357+
// ),
13581358
{
13591359
commit: c,
13601360
commitCommand: commandOrAliasNames[i] || "pick",

0 commit comments

Comments
 (0)