templates / branches--on commit cache.h: allow oid_object_info to handle arbitrary repositories (9d98354)
   1: this is just to ensure the directory exists.