code: func (r *ReferenceStorage) SetReference(ref *plumbing.Reference) error {
  	delete(r.deleted, ref.Name())
  	return r.temporal.SetReference(ref)
  }
docs: // SetReference honors the storer.ReferenceStorer interface.