Re: [PATCH 1/1] doc: Mention info/attributes in gitrepository-layout
Steffen Prohaska <prohaska@zib.de> writes:
Show 17 quoted lines
> 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].