templates / branches--on commit ls-files: factor out debug info into a function (5306ccf)
   1: this is just to ensure the directory exists.