# Bug in update-index man page

- From: Kirill Likhodedov \<hidden\>
- Date: 2018-05-21 17:41:33 
- List: git
- Page: https://ratatoskr.run/git/2018/05/7768073
- Thread: https://ratatoskr.run/git/2018/05/7768073/t.md

```text

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.
```
