As of git version 2.7 it is no longer necessary to include parent directories in the list of files not to be ignored. This fixes #195.