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 e7759ee commit f8e65d8Copy full SHA for f8e65d8
parse-todo-of-stacked-rebase/parseNewGoodCommands.ts
@@ -46,8 +46,14 @@ export function parseNewGoodCommands(
46
const last = newCommits.length - 1;
47
48
if (newCommits.length && newSHA === newCommits[last].newSHA) {
49
+ /**
50
+ * accumulating - if multiple commits got molded into 1
51
+ */
52
newCommits[last].oldSHAs.push(oldSHA);
53
} else {
54
55
+ * initializing a new commit
56
57
newCommits.push({
58
newSHA,
59
oldSHAs: [oldSHA],
0 commit comments