templates / branches--on commit lock_packed_refs(): take a `packed_ref_store *` parameter (f512f0f)
   1: this is just to ensure the directory exists.