提交 c9d9a2d6 编写于 作者: J Junio C Hamano

Merge branch 'an/diff-index-doc' into maint

* an/diff-index-doc:
  Documentation/diff-index: mention two modes of operation
...@@ -3,7 +3,7 @@ git-diff-index(1) ...@@ -3,7 +3,7 @@ git-diff-index(1)
NAME NAME
---- ----
git-diff-index - Compares content and mode of blobs between the index and repository git-diff-index - Compare a tree to the working tree or index
SYNOPSIS SYNOPSIS
...@@ -13,11 +13,11 @@ SYNOPSIS ...@@ -13,11 +13,11 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
Compares the content and mode of the blobs found via a tree Compares the content and mode of the blobs found in a tree object
object with the content of the current index and, optionally with the corresponding tracked files in the working tree, or with the
ignoring the stat state of the file on disk. When paths are corresponding paths in the index. When <path> arguments are present,
specified, compares only those named paths. Otherwise all compares only paths matching those patterns. Otherwise all tracked
entries in the index are compared. files are compared.
OPTIONS OPTIONS
------- -------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册