Re: An anomaly, not a bug
- From
Alexei Lozovsky <a.lozovsky@gmail.com>
- Date
- Oct 24, 2016, 22:47 UTC
- Message-ID
- <CALhvvbap=-KNHiDvKy4bb9BdWkgbxOjhVXAw+EQpRNXKeqgQFw@mail.gmail.com>
- In-Reply-To
- <CALhvvbYnTf9qqsCFWjgfnynRy9LDEQf=Y++2tQioTKHbaYGHDA@mail.gmail.com>
Show 6 quoted lines
> Actually, git reads > > # comment > > as 'ignore files with name " " (4 spaces)', and then a comment. > It does not ignore the leading whitespace.
Even not as a comment, it treats it as literally a filename with a hash and that comment in it. However, one (usually) does not name their files like that, so for all purposes this can be thought of as a sort of comment.