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.