Skip to content

Commit b16648c

Browse files
committed
Remove 3-way merge from patch application
1 parent 6567466 commit b16648c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ ipcMain.handle("apply-session-to-project", async (_event, sessionId: string) =>
645645
// Write patch to temp file
646646
fs.writeFileSync(patchPath, patchContent);
647647

648-
// Apply patch to original project directory using 3-way merge
648+
// Apply patch to original project directory
649649
try {
650-
await execAsync(`git apply --3way "${patchPath}"`, { cwd: projectDir });
650+
await execAsync(`git apply "${patchPath}"`, { cwd: projectDir });
651651

652652
// Clean up patch file on success
653653
fs.unlinkSync(patchPath);

0 commit comments

Comments
 (0)