templates / branches--on commit diff: handle sha1 abbreviations outside of repository (4f03666)
   1: this is just to ensure the directory exists.