提交 40701adb 编写于 作者: N Nguyen Thai Ngoc Duy 提交者: Junio C Hamano

attr: a note about the order of .gitattributes lookup

This is the documentation part of

1a9d7e9b (attr.c: read .gitattributes from index as well. - 2007-08-14)
06f33c17 (Read attributes from the index that is being checked out - 2009-03-13)
Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 7bfffdc8
......@@ -66,6 +66,11 @@ is from the path in question, the lower its precedence). Finally
global and system-wide files are considered (they have the lowest
precedence).
When the `.gitattributes` file is missing from the work tree, the
path in the index is used as a fall-back. During checkout process,
`.gitattributes` in the index is used and then the file in the
working tree is used as a fall-back.
If you wish to affect only a single repository (i.e., to assign
attributes to files that are particular to
one user's workflow for that repository), then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册