diffdriver --text support options for diff

Sponsored-by: KDM on Patreon
This commit is contained in:
Joey Hess 2023-07-05 15:43:29 -04:00
parent 4195acc012
commit 3d810726af
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 11 additions and 6 deletions

View file

@ -4,7 +4,7 @@ git-annex diffdriver - git diff driver
# SYNOPSIS
git annex diffdriver --text
git annex diffdriver --text [-- --opts --]
git annex diffdriver `-- cmd --opts --`
@ -42,6 +42,7 @@ set `GIT_EXTERNAL_DIFF="git-annex diffdriver -- j-c-diff --"`
# OPTIONS
To diff text files with diff(1), use the "--text" option.
To pass additional options to diff(1), use eg "--text -- --color --"
To use an external diff driver command, the options must start with
"--" followed by the diff driver command, its options, and another "--"

View file

@ -28,3 +28,5 @@ How about having `git annex diffdriver --text` always using `diff --text`? That
Thanks again a ton for git-annex, the Tübix2023-Workshop was well appreciated and lots of fun. 👍
Yann
> [[done]] --[[Joey]]