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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steffen Prohaska <prohaska@xxxxxx> writes:

> Signed-off-by: Steffen Prohaska <prohaska@xxxxxx>
> ---
>  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].



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux