Generating diff text
~~~~~~~~~~~~~~~~~~~~
- The attribute `diff` affects if 'git-diff' generates textual
- patch for the path or just says `Binary files differ`. It also
- can affect what line is shown on the hunk header `@@ -k,l +n,m @@`
- line.
+`diff`
+^^^^^^
+
+ The attribute `diff` affects how 'git' generates diffs for particular
+ files. It can tell git whether to generate a textual patch for the path
+ or to treat the path as a binary file. It can also affect what line is
+ shown on the hunk header `@@ -k,l +n,m @@` line, tell git to use an
+ external command to generate the diff, or ask git to convert binary
+ files to a text format before generating the diff.
Set::