# [PATCH 1/1] doc: Mention info/attributes in gitrepository-layout

2 messages from 2017-11-22 to 2017-11-22. Participants: Steffen Prohaska, Junio C Hamano.
Thread: https://gitlist.dev/t/47294

## Steffen Prohaska, 2017-11-22 08:58

Subject: [PATCH 1/1] doc: Mention info/attributes in gitrepository-layout
Message-ID: <20171122085814.8563-1-prohaska@zib.de>
URL: https://gitlist.dev/e/20171122085814.8563-1-prohaska%40zib.de

```
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 Documentation/gitrepository-layout.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt
index adf9554ad2..c60bcad44a 100644
--- a/Documentation/gitrepository-layout.txt
+++ b/Documentation/gitrepository-layout.txt
@@ -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].
-- 
2.15.0.5.g43a9009988


```

## Junio C Hamano, 2017-11-22 15:54

Subject: Re: [PATCH 1/1] doc: Mention info/attributes in gitrepository-layout
Message-ID: <xmqqmv3es407.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqmv3es407.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <20171122085814.8563-1-prohaska@zib.de>

```
Steffen Prohaska <prohaska@zib.de> writes:

> Signed-off-by: Steffen Prohaska <prohaska@zib.de>
> ---
>  Documentation/gitrepository-layout.txt | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt
> index adf9554ad2..c60bcad44a 100644
> --- a/Documentation/gitrepository-layout.txt
> +++ b/Documentation/gitrepository-layout.txt
> @@ -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.

>  info/sparse-checkout::
>  	This file stores sparse checkout patterns.
>  	See also: linkgit:git-read-tree[1].

```
