@@ -3,8 +3,6 @@ import assert from "assert";
3
3
4
4
import Git from "nodegit" ;
5
5
6
- import { filenames } from "./filenames" ;
7
-
8
6
import { createExecSyncInRepo } from "./util/execSyncInRepo" ;
9
7
import { Termination } from "./util/error" ;
10
8
@@ -54,7 +52,6 @@ export type BranchSequencerArgs = BranchSequencerArgsBase & {
54
52
actionInsideEachCheckedOutBranch : ActionInsideEachCheckedOutBranch ;
55
53
delayMsBetweenCheckouts ?: number ;
56
54
callbackAfterDone ?: CallbackAfterDone ;
57
- rewrittenListFile ?: typeof filenames . rewrittenList ;
58
55
} ;
59
56
60
57
export type BranchSequencerBase = ( args : BranchSequencerArgsBase ) => Promise < void > ;
@@ -70,18 +67,13 @@ export const branchSequencer: BranchSequencer = async ({
70
67
// callbackBeforeBegin,
71
68
actionInsideEachCheckedOutBranch,
72
69
callbackAfterDone = ( ) : void => { } ,
73
- rewrittenListFile = filenames . rewrittenList ,
74
70
gitCmd,
75
71
} ) => {
76
72
if ( ! fs . existsSync ( pathToStackedRebaseDirInsideDotGit ) ) {
77
73
throw new Termination ( `\n\nno stacked-rebase in progress? (nothing to ${ rootLevelCommandName } )\n\n` ) ;
78
74
}
79
75
80
- const stackedRebaseCommandsNew : GoodCommand [ ] = parseNewGoodCommands (
81
- repo ,
82
- pathToStackedRebaseTodoFile ,
83
- rewrittenListFile
84
- ) ;
76
+ const stackedRebaseCommandsNew : GoodCommand [ ] = parseNewGoodCommands ( repo , pathToStackedRebaseTodoFile ) ;
85
77
86
78
// const remotes: Git.Remote[] = await repo.getRemotes();
87
79
// const remote: Git.Remote | undefined = remotes.find((r) =>
0 commit comments