@@ -3,8 +3,6 @@ import assert from "assert";
33
44import Git from "nodegit" ;
55
6- import { filenames } from "./filenames" ;
7-
86import { createExecSyncInRepo } from "./util/execSyncInRepo" ;
97import { Termination } from "./util/error" ;
108
@@ -54,7 +52,6 @@ export type BranchSequencerArgs = BranchSequencerArgsBase & {
5452 actionInsideEachCheckedOutBranch : ActionInsideEachCheckedOutBranch ;
5553 delayMsBetweenCheckouts ?: number ;
5654 callbackAfterDone ?: CallbackAfterDone ;
57- rewrittenListFile ?: typeof filenames . rewrittenList ;
5855} ;
5956
6057export type BranchSequencerBase = ( args : BranchSequencerArgsBase ) => Promise < void > ;
@@ -70,18 +67,13 @@ export const branchSequencer: BranchSequencer = async ({
7067 // callbackBeforeBegin,
7168 actionInsideEachCheckedOutBranch,
7269 callbackAfterDone = ( ) : void => { } ,
73- rewrittenListFile = filenames . rewrittenList ,
7470 gitCmd,
7571} ) => {
7672 if ( ! fs . existsSync ( pathToStackedRebaseDirInsideDotGit ) ) {
7773 throw new Termination ( `\n\nno stacked-rebase in progress? (nothing to ${ rootLevelCommandName } )\n\n` ) ;
7874 }
7975
80- const stackedRebaseCommandsNew : GoodCommand [ ] = parseNewGoodCommands (
81- repo ,
82- pathToStackedRebaseTodoFile ,
83- rewrittenListFile
84- ) ;
76+ const stackedRebaseCommandsNew : GoodCommand [ ] = parseNewGoodCommands ( repo , pathToStackedRebaseTodoFile ) ;
8577
8678 // const remotes: Git.Remote[] = await repo.getRemotes();
8779 // const remote: Git.Remote | undefined = remotes.find((r) =>
0 commit comments