From e9992a60f464ddbc8b25a1e5acec75a72ad55df2 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 1 Apr 2022 09:38:08 -0700 Subject: [PATCH] Clarify the limitations of patch files See also #186. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 94f0b12e9..8af7c674c 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ Patching. Difftastic output is intended for human consumption, and it does not generate patches that you can apply later. Use `diff` if you need a patch. +(Patch files are also line-oriented, which is too limited for +difftastic. Difftastic might find additions and removals on the same +line, and it tracks the relationship between line numbers in the old +and new file.) + Merging. AST merging is a hard problem that difftastic does not address.