The options for the diff driver "foo" are defined by the configuration variables in the "diff.foo" section of the Git config file. Defining an external diff driver The definition of a diff driver is done in gitconfig, not gitattributes file, so strictly speaking this manual page is a ...