static final AdvertiseRefsHook DEFAULTA simple hook that advertises the default refs.
The method implementations do nothing to preserve the default behavior; see
void advertiseRefs(UploadPack uploadPack) throws ServiceMayNotContinueExceptionAdvertise refs for upload-pack.
void advertiseRefs(ReceivePack receivePack) throws ServiceMayNotContinueException, IOExceptionAdvertise refs for receive-pack.
receivePack- instance on which to call
ServiceMayNotContinueException- abort; the message will be sent to the user.