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

Bug in update-index man page

From
Kirill Likhodedov <kirill.likhodedov@jetbrains.com>
Date
May 21, 2018, 17:39 UTC
Message-ID
<91956FEA-B350-4F51-B882-24783C85D613@jetbrains.com>
I've noticed the following text in the documentation pages for the `update-index` command:
       <file>
           Files to act on. Note that files beginning with .  are discarded. This includes ./file and
           dir/./file. If you don't want this, then use cleaner names. The same applies to directories
           ending / and paths with //
It seems that the phrase "files beginning with .  are discarded." is incorrect, because update-index works correctly on files like `.gitignore`. It also seems that even names like `./file` are handled correctly after cfb0af1d50247e66ea1d46014650e60e9cfb87b9. Could you please verify and fix the doc if needed.

Thanks! Kirill.

Message 1 of 1 in “Bug in update-index man page”
  1. Kirill LikhodedovMay 21, 2018

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.