summaryrefslogtreecommitdiff
path: root/doc/git-annex-diffdriver.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-25 12:09:49 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-25 12:09:49 -0400
commitf77d5bcc56a4692f321896dedab75c6ec32f967a (patch)
treeb57bf5d62fe1651502917f13d093ce9b4d79a6c3 /doc/git-annex-diffdriver.mdwn
parent00c09b2038611de97c26f4141a748f08cc8fe570 (diff)
finished splitting out man pages for all commands
Diffstat (limited to 'doc/git-annex-diffdriver.mdwn')
-rw-r--r--doc/git-annex-diffdriver.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/git-annex-diffdriver.mdwn b/doc/git-annex-diffdriver.mdwn
new file mode 100644
index 000000000..72e0faca3
--- /dev/null
+++ b/doc/git-annex-diffdriver.mdwn
@@ -0,0 +1,32 @@
+# NAME
+
+git-annex diffdriver - external git diff driver shim
+
+# SYNOPSIS
+
+git annex diffdriver `-- cmd --opts --`
+
+# DESCRIPTION
+
+This is an external git diff driver shim. Normally, when using `git diff`
+with an external git driver, the symlinks to annexed files are not set up
+right, so the external git driver cannot read them in order to perform
+smart diffing of their contents. This command works around the problem,
+by passing the fixed up files to the real external diff driver.
+
+To use, just configure git to use "git-annex diffdriver -- cmd params --"
+as the external diff command, where cmd is the real external diff
+command you want to use, and params are any extra parameters to pass
+to it. Note the trailing "--", which is required.
+
+For example, set `GIT_EXTERNAL_DIFF=git-annex diffdriver -- j-c-diff --`
+
+# SEE ALSO
+
+[[git-annex]](1)
+
+# AUTHOR
+
+Joey Hess <id@joeyh.name>
+
+Warning: Automatically converted into a man page by mdwn2man. Edit with care.