templates / branches--on commit grep: move pattern-type bits support to top-level grep.[ch] (c5c31d3)
   1: this is just to ensure the directory exists.