templates / branches--on commit sha1_name.c: teach get_short_sha1() a commit-only option (aa1dec9)
   1: this is just to ensure the directory exists.