This stores the garrisonHolder in cmpGarrisonable which means one does not need to keep the garrison order for getting the garrisonHolder for a garrisoned entity.
The function getEntityOrHolder (introduced in rP13978) which could use the GetGarrisonHolder() (introduced in rP19869) did not use it, apparently.