1git-annex-diffdriver(1)     General Commands Manual    git-annex-diffdriver(1)
2
3
4

NAME

6       git-annex-diffdriver - external git diff driver shim
7

SYNOPSIS

9       git annex diffdriver -- cmd --opts --
10

DESCRIPTION

12       This is an external git diff driver shim. Normally, when using git diff
13       with an external diff driver, the symlinks to annexed files are not set
14       up right, so the external diff driver cannot read them in order to per‐
15       form smart diffing of their contents. This  command  works  around  the
16       problem,  by  passing  the  fixed  up  files  to the real external diff
17       driver.
18
19       To use this, you will need to have installed  some  git  external  diff
20       driver  command.  This  is  not  the  regular  diff command; it takes a
21       git-specific input. See git's documentation  of  GIT_EXTERNAL_DIFF  and
22       gitattributes(5)'s documentation of external diff drivers.
23
24       Configure  git  to  use  "git-annex diffdriver -- cmd params --" as the
25       external diff driver, where cmd is the external diff driver you want it
26       to  run,  and  params  are any extra parameters to pass to it. Note the
27       trailing "--", which is required.
28
29       For example, set GIT_EXTERNAL_DIFF=git-annex diffdriver -- j-c-diff --
30

SEE ALSO

32       git-annex(1)
33

AUTHOR

35       Joey Hess <id@joeyh.name>
36
37                                                       git-annex-diffdriver(1)
Impressum