In git, ".gitignore" and "gitignore" files are automatically used.
- The '.' prefix is effectively optional due to difficulty of creating this file under Windows.
However, Perforce does not use p4ignore at all unless the filename is explicitly set in an environment variable.
This leads to some users forgetting to create the environment variable, or making a typo and thus accidentally committing files they should not, which then need to be obliterated.
Perforce should use the ".p4ignore" and "p4ignore" automatically unless the P4IGNORE environment variable is set to something else.