templates / branches--on commit ref_store: implement `refs_peel_ref()` generically (ba1c052)
   1: this is just to ensure the directory exists.