templates / branches--on commit grep: plug a trivial memory leak (7861fa0)
   1: this is just to ensure the directory exists.