Since org.eclipse.jgit.transport.ReceivePack.setAdvertisedRefs() clears the any existing haves line added by the previous AdvertiseRefHook in the chain, HackPushNegotiateHook should include those in its own haves line. Change-Id: I51aad7b71f742717faa97112fdff5a0a1da8c4ac