git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Alexei Lozovsky
Message 3 of 3 in “An anomaly, not a bug”
  1. m.Oct 24, 2016
  2. Alexei LozovskyOct 24, 2016
  3. Alexei LozovskyOct 24, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.