Skip to content

Commit 7abc6b7

Browse files
committed
Merge branch 'an/diff-index-doc'
* an/diff-index-doc: Documentation/diff-index: mention two modes of operation
2 parents f241c08 + b3d6e6e commit 7abc6b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/git-diff-index.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ git-diff-index(1)
33

44
NAME
55
----
6-
git-diff-index - Compares content and mode of blobs between the index and repository
6+
git-diff-index - Compare a tree to the working tree or index
77

88

99
SYNOPSIS
@@ -13,11 +13,11 @@ SYNOPSIS
1313

1414
DESCRIPTION
1515
-----------
16-
Compares the content and mode of the blobs found via a tree
17-
object with the content of the current index and, optionally
18-
ignoring the stat state of the file on disk. When paths are
19-
specified, compares only those named paths. Otherwise all
20-
entries in the index are compared.
16+
Compares the content and mode of the blobs found in a tree object
17+
with the corresponding tracked files in the working tree, or with the
18+
corresponding paths in the index. When <path> arguments are present,
19+
compares only paths matching those patterns. Otherwise all tracked
20+
files are compared.
2121

2222
OPTIONS
2323
-------

0 commit comments

Comments
 (0)