Skip to content

Commit a82cc4e

Browse files
committed
stop writing custom rebase files
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 57995ef commit a82cc4e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

git-stacked-rebase.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -441,21 +441,21 @@ exit 1
441441
commitShaOfInitialBranch
442442
);
443443

444-
fs.writeFileSync(
445-
path.join(pathToRegularRebaseDirInsideDotGit, "onto"), //
446-
commitShaOfInitialBranch
447-
);
444+
// fs.writeFileSync(
445+
// path.join(pathToRegularRebaseDirInsideDotGit, "onto"), //
446+
// commitShaOfInitialBranch
447+
// );
448448
/**
449449
* TODO - is this even needed? seems only a nodegit thing
450450
*/
451-
fs.writeFileSync(
452-
path.join(pathToRegularRebaseDirInsideDotGit, "onto_name"), //
453-
initialBranch.name() + "\n"
454-
);
455-
fs.writeFileSync(
456-
path.join(pathToRegularRebaseDirInsideDotGit, "cmt.1"), //
457-
commitShaOfInitialBranch
458-
);
451+
// fs.writeFileSync(
452+
// path.join(pathToRegularRebaseDirInsideDotGit, "onto_name"), //
453+
// initialBranch.name() + "\n"
454+
// );
455+
// fs.writeFileSync(
456+
// path.join(pathToRegularRebaseDirInsideDotGit, "cmt.1"), //
457+
// commitShaOfInitialBranch
458+
// );
459459

460460
fs.writeFileSync(
461461
// path.join(dotGitDirPath, "HEAD"), //

0 commit comments

Comments
 (0)