@@ -18,8 +18,8 @@ SYNOPSIS
18
18
DESCRIPTION
19
19
-----------
20
20
Show changes between the working tree and the index or a tree, changes
21
- between the index and a tree, changes between two trees, or changes
22
- between two files on disk.
21
+ between the index and a tree, changes between two trees, changes between
22
+ two blob objects, or changes between two files on disk.
23
23
24
24
'git diff' [--options] [--] [<path>...]::
25
25
@@ -56,11 +56,6 @@ directories. This behavior can be forced by --no-index.
56
56
This is to view the changes between two arbitrary
57
57
<commit>.
58
58
59
- 'git diff' [options] <blob> <blob>::
60
-
61
- This form is to view the differences between the raw
62
- contents of two blob objects.
63
-
64
59
'git diff' [--options] <commit>..<commit> [--] [<path>...]::
65
60
66
61
This is synonymous to the previous form. If <commit> on
@@ -87,6 +82,11 @@ and the range notations ("<commit>..<commit>" and
87
82
"<commit>\...<commit>") do not mean a range as defined in the
88
83
"SPECIFYING RANGES" section in linkgit:gitrevisions[7].
89
84
85
+ 'git diff' [options] <blob> <blob>::
86
+
87
+ This form is to view the differences between the raw
88
+ contents of two blob objects.
89
+
90
90
OPTIONS
91
91
-------
92
92
:git-diff: 1
0 commit comments