templates / branches--on commit Convert many resolve_ref() calls to read_ref*() and ref_exists() (c689332)
   1: this is just to ensure the directory exists.