We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd2025 commit 30e0eabCopy full SHA for 30e0eab
src/core/tools/applyDiffTool.ts
@@ -45,9 +45,12 @@ export async function applyDiffToolLegacy(
45
tmpDiff += `\n-------\n${search}`
46
}
47
if (startLine && search && replace) {
48
- tmpDiff += `\n=======\n${replace}\n>>>>>>> REPLACE\n\n`
+ tmpDiff += `\n=======\n${replace}`
49
50
51
+ if (!block.partial) {
52
+ tmpDiff += "\n>>>>>>> REPLACE\n\n"
53
+ }
54
diffContent = tmpDiff
55
block.params.diff = diffContent
56
0 commit comments