mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
chore(upstream): disable mergiraf .orig backups
mergiraf defaults to writing a .orig sibling file for every file it touches. Pass --keep-backup=false so the merge script doesn't leave a pile of .orig files across the working tree after running.
This commit is contained in:
@@ -97,7 +97,7 @@ async function runMergiraf(files: string[]): Promise<{ solved: number; partial:
|
||||
logger.debug(`skipping ${file}: checkout --conflict=diff3 failed (exit ${co.exitCode})`)
|
||||
continue
|
||||
}
|
||||
const mg = await $`mergiraf solve ${file}`.quiet().nothrow()
|
||||
const mg = await $`mergiraf solve --keep-backup=false ${file}`.quiet().nothrow()
|
||||
const content = await Bun.file(file)
|
||||
.text()
|
||||
.catch(() => "")
|
||||
|
||||
Reference in New Issue
Block a user