path: root/Documentation/diff-options.txt
diff options
Diffstat (limited to 'Documentation/diff-options.txt')
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 3c93c21..9d1586b 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -80,6 +80,16 @@ endif::git-format-patch[]
Generate a diff using the "histogram diff" algorithm.
+ Generate a diff using the "anchored diff" algorithm.
+This option may be specified more than once.
+If a line exists in both the source and destination, exists only once,
+and starts with this text, this algorithm attempts to prevent it from
+appearing as a deletion or addition in the output. It uses the "patience
+diff" algorithm internally.
Choose a diff algorithm. The variants are as follows: