[diff "jcdiff"] + command = j-c-diff+
From: Junio C Hamano
+ Diff is shown using the specified custom diff driver. + The driver program is given its input using the same + calling convention as used for GIT_EXTERNAL_DIFF + program. +
+Any other value set to diff attribute is ignored and git acts -as if the attribute is left unspecified.
+The definition of a diff driver is done in gitconfig, not +gitattributes file, so strictly speaking this manual page is a +wrong place to talk about it. However…
+To define a custom diff driver jcdiff, add a section to your +$GIT_DIR/config file (or $HOME/.gitconfig file) like this:
+[diff "jcdiff"] + command = j-c-diff+
When git needs to show you a diff for the path with diff +attribute set to jcdiff, it calls the command you specified +with the above configuration, i.e. j-c-diff, with 7 +parameters, just like GIT_EXTERNAL_DIFF program is called. +See git(7) for details.
The attribute merge affects how three versions of a file is merged when a file-level merge is necessary during git merge, @@ -484,7 +509,7 @@ Unspecified
@@ -589,7 +614,7 @@ frotz unspecified