templates / branches--on commit sha1_file: teach sha1_object_info_extended more flags (dfdd4af)
   1: this is just to ensure the directory exists.