File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ export const branchSequencer: BranchSequencer = async ({
7171 actionInsideEachCheckedOutBranch,
7272 callbackAfterDone = ( ) : void => { } ,
7373 rewrittenListFile = filenames . rewrittenList ,
74+ gitCmd,
7475} ) => {
7576 if ( ! fs . existsSync ( pathToStackedRebaseDirInsideDotGit ) ) {
7677 throw new Termination ( `\n\nno stacked-rebase in progress? (nothing to ${ rootLevelCommandName } )\n\n` ) ;
@@ -157,8 +158,11 @@ export const branchSequencer: BranchSequencer = async ({
157158 */
158159 const isFinalCheckout : boolean = cmds . length === 1 ;
159160
161+ /**
162+ * https://libgit2.org/libgit2/#HEAD/group/checkout/git_checkout_head
163+ */
160164 // await Git.Checkout.tree(repo, targetBranch as any); // TODO TS FIXME
161- execSyncInRepo ( `git checkout ${ targetBranch } ` ) ; // f this
165+ execSyncInRepo ( `${ gitCmd } checkout ${ targetBranch } ` ) ; // f this
162166
163167 await actionInsideEachCheckedOutBranch ( {
164168 repo, //
You can’t perform that action at this time.
0 commit comments