path: root/Documentation/diff-options.txt
diff options
Diffstat (limited to 'Documentation/diff-options.txt')
1 files changed, 17 insertions, 7 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index b7af973..2e7a938 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -36,9 +36,9 @@ endif::git-format-patch[]
Generate diffs with <n> lines of context instead of
- the usual three. Implies `--patch`.
+ the usual three.
- Implies `-p`.
+ Implies `--patch`.
@@ -441,15 +441,20 @@ endif::git-format-patch[]
In addition to `--full-index`, output a binary diff that
- can be applied with `git-apply`. Implies `--patch`.
+ can be applied with `git-apply`.
+ Implies `--patch`.
Instead of showing the full 40-byte hexadecimal object
name in diff-raw format output and diff-tree header
- lines, show only a partial prefix. This is
- independent of the `--full-index` option above, which controls
- the diff-patch output format. Non default number of
- digits can be specified with `--abbrev=<n>`.
+ lines, show the shortest prefix that is at least '<n>'
+ hexdigits long that uniquely refers the object.
+ In diff-patch output format, `--full-index` takes higher
+ precedence, i.e. if `--full-index` is specified, full blob
+ names will be shown regardless of `--abbrev`.
+ Non default number of digits can be specified with `--abbrev=<n>`.
@@ -686,6 +691,11 @@ endif::git-format-patch[]
Ignore changes whose lines are all blank.
+ Ignore changes whose all lines match <regex>. This option may
+ be specified more than once.
Show the context between diff hunks, up to the specified number
of lines, thereby fusing hunks that are close to each other.