templates / branches--on commit sha1_object_info(): be consistent with read_sha1_file() (f0df4ed)
   1: this is just to ensure the directory exists.