threads / bug / 48537

Bug in update-index man page

Subject: Bug in update-index man page

## tl;dr

One message between May 21, 2018 and May 21, 2018.

replies: 0people: 1as markdown or json

Kirill Likhodedov· May 21, 2018, 17:39 UTC · lore
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.

← back to recent threads