templates / branches--on commit exclude: do strcmp as much as possible before fnmatch (f9f6e2c)
   1: this is just to ensure the directory exists.