summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-06-30 15:39:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-30 15:39:53 -0700
commit08585fd48d2d3d8facce9bdc366cfd896329a4b8 (patch)
tree731ec3979f6efde016abb6a06dcec0e184b640ea /Documentation
parentMerge branch 'mh/loose-refs-race-with-pack-ref' (diff)
parentdiff: add --ignore-blank-lines option (diff)
downloadtgif-08585fd48d2d3d8facce9bdc366cfd896329a4b8.tar.xz
Merge branch 'ap/diff-ignore-blank-lines'
"git diff" learned a mode that ignores hunks whose change consists only of additions and removals of blank lines, which is the same as "diff -B" (ignore blank lines) of GNU diff. * ap/diff-ignore-blank-lines: diff: add --ignore-blank-lines option
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/diff-options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index a85288f23e..19f78a7d5c 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -461,6 +461,9 @@ endif::git-format-patch[]
differences even if one line has whitespace where the other
line has none.
+--ignore-blank-lines::
+ Ignore changes whose lines are all blank.
+
--inter-hunk-context=<lines>::
Show the context between diff hunks, up to the specified number
of lines, thereby fusing hunks that are close to each other.