From 5a05a067acba7d6b5696bf6e29fc26c6d7e8b833 Mon Sep 17 00:00:00 2001 From: Sven van Heugten Date: Fri, 6 Mar 2026 17:31:27 +0100 Subject: [PATCH] Document the need to use recountdiff --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cbcbe4..012eeb9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ `mechanicaldiff` lets you filter down a diff to _only_ the parts that make a specific mechanical change, so you can commit those changes separately. -Usage: `git diff | mechanicaldiff ` +Usage: `git diff | mechanicaldiff | recountdiff` It differs from [grepdiff](https://linux.die.net/man/1/grepdiff) in that it doesn’t just search for the lines that contain the given `pattern`, but also checks that the _only_ change in that line is that `pattern` was replaced with the given `replacement`.