templates / branches--on commit do not write null sha1s to on-disk index (4337b58)
   1: this is just to ensure the directory exists.