templates / branches--on commit files_ref_store: use a transaction to update packed refs (dc39e09)
   1: this is just to ensure the directory exists.