diff options
| author | Jeff King <peff@peff.net> | 2015-12-01 17:32:38 -0500 |
|---|---|---|
| committer | Jeff King <peff@peff.net> | 2015-12-01 17:32:38 -0500 |
| commit | 40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d (patch) | |
| tree | 95a2da48eec35b7bfacf36beb80b05dcea84d6e1 /Documentation/diff-options.txt | |
| parent | 1bc8feaa7cc752fe3b902ccf83ae9332e40921db (diff) | |
| parent | 908a6e4156dff47d4877478383fd4b79592010e2 (diff) | |
| download | git-40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d.tar.xz | |
Merge branch 'maint'
* maint:
http: treat config options sslCAPath and sslCAInfo as paths
Documentation/diff: give --word-diff-regex=. example
filter-branch: deal with object name vs. pathname ambiguity in tree-filter
check-ignore: correct documentation about output
git-p4: clean up after p4 submit failure
git-p4: work with a detached head
git-p4: add option to system() to return subshell status
git-p4: add failing test for submit from detached head
remote-http(s): support SOCKS proxies
t5813: avoid creating urls that break on cygwin
Escape Git's exec path in contrib/rerere-train.sh script
allow hooks to ignore their standard input stream
rebase-i-exec: Allow space in SHELL_PATH
Documentation: make environment variable formatting more consistent
Diffstat (limited to 'Documentation/diff-options.txt')
| -rw-r--r-- | Documentation/diff-options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index d56ca90998..306b7e3604 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -267,6 +267,9 @@ expression to make sure that it matches all non-whitespace characters. A match that contains a newline is silently truncated(!) at the newline. + +For example, `--word-diff-regex=.` will treat each character as a word +and, correspondingly, show differences character by character. ++ The regex can also be set via a diff driver or configuration option, see linkgit:gitattributes[1] or linkgit:git-config[1]. Giving it explicitly overrides any diff driver or configuration setting. Diff drivers |
