… to make it more predictable which files you meant to actually ignore. It might also improve performance.
If there is a pathname component, usually the better choice is to make a separate .gitignore file in that subdirectory.
If you really need infinitely recursive ignore rules, ( 1. you're probably doing it wrong and 2. ) explicitly start them with /**/… so people know it's not a mistake.