Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Documentation/diff-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ endif::git-diff[]
+
Note that despite the name of the first mode, color is used to
highlight the changed parts in all modes if enabled.
+
Word diff works by finding word-level changes within each hunk of
the line-level diff. The line-level alignment determines which
changed lines are compared to each other, which can affect the
word-level output.

`--word-diff-regex=<regex>`::
Use _<regex>_ to decide what a word is, instead of considering
Expand Down
Loading