I'm running a pretty straightforward rebase:
return repo.rebaseBranches(
'refs/heads/test',
'refs/heads/master',
null,
nodegit.Signature.now('Test', 'test@example.com'),
rebase => {
console.log("One operation");
return Promise.resolve();
},
rebaseMetadata => {
console.log("Finished rebase");
return Promise.resolve();
}
)
Every time I run this, I get the following error before the finish function is run but after all operations are run
{Error: ENOENT: no such file or directory, open '.../.git/rebase-merge/rewritten'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '.../.git/rebase-merge/rewritten' }
My working directory is clean. When I go to my terminal, I can run git rebase --continue, and the rebase works with the following message
Already applied: 0001 temp
All done.
I'm running a pretty straightforward rebase:
Every time I run this, I get the following error before the finish function is run but after all operations are run
My working directory is clean. When I go to my terminal, I can run
git rebase --continue, and the rebase works with the following message