doc: Mention info/attributes in gitrepository-layout
PATCH 1/1 doc: Mention info/attributes in gitrepository-layout
Signed-off-by Steffen Prohaska <[email protected]>
--- Documentation/gitrepository-layout.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/gitrepository-layout.txt +4 -0
@@ -208,6 +208,10 @@ info/exclude:: 'git clean' look at it but the core Git commands do not look at it. See also: linkgit:gitignore[5]. +info/attributes:: + Defines which attributes to assign to a path, similar to per-directory + `.gitattributes` files. See also: linkgit:gitattributes[5]. + info/sparse-checkout:: This file stores sparse checkout patterns. See also: linkgit:git-read-tree[1].
Signature · 1 line
2.15.0.5.g43a9009988
Quoted 10 lines · Steffen Prohaska
Signed-off-by Steffen Prohaska <[email protected]>--- Documentation/gitrepository-layout.txt | 4 ++++ 1 file changed, 4 insertions(+)Documentation/gitrepository-layout.txt +0
-0
Documentation/gitrepository-layout.txt info/exclude:: · line 214
Quoted 7 lines
Documentation/gitrepository-layout.txt +4
-0@@ -208,6 +208,10 @@ info/exclude:: 'git clean' look at it but the core Git commands do not look at it. See also: linkgit:gitignore[5]. +info/attributes:: + Defines which attributes to assign to a path, similar to per-directory + `.gitattributes` files. See also: linkgit:gitattributes[5]. +
Makes sense, but don't we also want to mention a bit more than "similar to"? The entries in this file is treated as higher priority than the in-tree .gitattributes file, which allows us to use it to locally override the choice made by the project.
Quoted 3 lines
Documentation/gitrepository-layout.txt +0
-0info/sparse-checkout:: This file stores sparse checkout patterns. See also: linkgit:git-read-tree[1].