Steps:
Create a repository containing this file/folder structure:
foo/
bar/
inner.txt
outer.txt
Add the following to the repository's .gitignore (verbatim):
Expected: Everything under foo will be ignored (per core Git).
Actual: Neither file is ignored. This appears to be a regression.