templates / branches--on commit match_pathspec() -- return how well the spec matched (e813d50)
   1: this is just to ensure the directory exists.