Re: "man gitattributes" doesn't explain comma-separated attribute values

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

 



Am 16.03.19 um 13:22 schrieb Robert P. J. Day:
>   as a working example, i looked at the top-level .gitattributes file
> in the git source code itself, which opens with:
> 
>   * whitespace=!indent,trail,space
>   *.[ch] whitespace=indent,trail,space diff=cpp
>   *.sh whitespace=indent,trail,space eol=lf
>   ... snip ...
> 
> first observation is that i see nothing in the man page that explains
> the notion of a comma-separated list of attribute values.

This comma-separated list is not a property of attributes in general,
but a property of the whitespace attribute in particular. See
core.whitespace in git-config(1) and "Checking whitespace errors" in
gitattributes(5).

-- Hannes



[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