Re: End-of-line comments are prompted with "is not a valid attribute name"

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

 



D无数 <wushuripple@xxxxxxxxx> writes:

> This is my .gitattributes:
> ```
> res/csv/*.txt eol=lf # 保证csv为lf,以匹配解析格式

I do not think of any version of Git ignoring what you wrote after #
(including #) in the middle of the line.

> # Custom for Visual Studio

I know I designed the parser to allow this as a comment, though.

So

> When performing certain operations:
> ···shell
>> git status
> # is not a valid attribute name: .gitattributes:1

This is totally expected; nothing to see here.






[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