mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
build
This commit is contained in:
@@ -27979,7 +27979,7 @@ async function improveCommitMessagesWithRebase(commits, diffs) {
|
||||
ce(
|
||||
`Starting interactive rebase: "$ rebase -i HEAD~${commitsToImprove.length - 5}".`
|
||||
);
|
||||
await execa("git", ["rebase", "-i", `HEAD~${commitsToImprove.length}`]);
|
||||
await execa("git", ["rebase", "-i", `HEAD~${commitsToImprove.length - 5}`]);
|
||||
for (const commit of commitsToImprove) {
|
||||
try {
|
||||
const improvedMessage = improvedMessagesBySha[commit.sha];
|
||||
|
||||
@@ -133,7 +133,7 @@ async function improveCommitMessagesWithRebase(
|
||||
}".`
|
||||
);
|
||||
|
||||
await execa('git', ['rebase', '-i', `HEAD~${commitsToImprove.length}`]);
|
||||
await execa('git', ['rebase', '-i', `HEAD~${commitsToImprove.length - 5}`]);
|
||||
|
||||
for (const commit of commitsToImprove) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user