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 7363aab commit 0072052Copy full SHA for 0072052
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