templates / branches--on commit --format=pretty: avoid calculating expensive expansions twice (b9c6232)
   1: this is just to ensure the directory exists.