# Bug in update-index man page

1 messages from 2018-05-21 to 2018-05-21. Participants: Kirill Likhodedov.
Thread: https://gitlist.dev/t/48537

## Kirill Likhodedov, 2018-05-21 17:39

Subject: Bug in update-index man page
Message-ID: <91956FEA-B350-4F51-B882-24783C85D613@jetbrains.com>
URL: https://gitlist.dev/e/91956FEA-B350-4F51-B882-24783C85D613%40jetbrains.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.
```
