diff --git a/aider/coders/search_replace.py b/aider/coders/search_replace.py index ac074e1b2..0b83765ec 100755 --- a/aider/coders/search_replace.py +++ b/aider/coders/search_replace.py @@ -388,7 +388,7 @@ def dmp_lines_apply(texts, remap=True): if debug: diff = list(diff_lines) dmp.diff_charsToLines(diff, mapping) - dump(diff) + # dump(diff) html = dmp.diff_prettyHtml(diff) Path("tmp.search_replace_diff.html").write_text(html) @@ -425,7 +425,7 @@ def diff_lines(search_text, replace_text): diff = list(diff_lines) dmp.diff_charsToLines(diff, mapping) - dump(diff) + # dump(diff) udiff = [] for d, lines in diff: diff --git a/docs/unified-diffs.md b/docs/unified-diffs.md index be5b5b42e..ed5bc26db 100644 --- a/docs/unified-diffs.md +++ b/docs/unified-diffs.md @@ -40,7 +40,7 @@ This puts a hard ceiling of 72% on how well the June model could possibly score. With unified diffs, GPT acts more like it's writing textual data intended to be read by a program, not talking to a person. -They are +Diffs are usually consumed by the [patch](https://www.gnu.org/software/diffutils/manual/html_node/Merging-with-patch.html)