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

Merge branch 'maint'

* maint:
  config.txt: fix placement of diff.noprefix
...@@ -813,8 +813,6 @@ diff.mnemonicprefix:: ...@@ -813,8 +813,6 @@ diff.mnemonicprefix::
standard "a/" and "b/" depending on what is being compared. When standard "a/" and "b/" depending on what is being compared. When
this configuration is in effect, reverse diff output also swaps this configuration is in effect, reverse diff output also swaps
the order of the prefixes: the order of the prefixes:
diff.noprefix::
If set, 'git diff' does not show any source or destination prefix.
`git diff`;; `git diff`;;
compares the (i)ndex and the (w)ork tree; compares the (i)ndex and the (w)ork tree;
`git diff HEAD`;; `git diff HEAD`;;
...@@ -826,6 +824,9 @@ diff.noprefix:: ...@@ -826,6 +824,9 @@ diff.noprefix::
`git diff --no-index a b`;; `git diff --no-index a b`;;
compares two non-git things (1) and (2). compares two non-git things (1) and (2).
diff.noprefix::
If set, 'git diff' does not show any source or destination prefix.
diff.renameLimit:: diff.renameLimit::
The number of files to consider when performing the copy/rename The number of files to consider when performing the copy/rename
detection; equivalent to the 'git diff' option '-l'. detection; equivalent to the 'git diff' option '-l'.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册