/** * Perform post-push actions, this includes verification that the remote wasn't changed while we * were pushing. * * @param refspec the refspec that we are pushing to * @param newCommitId the new commit id * @param originalRefValue the original value of the ref before pushing */ protected void endPush(String refspec, ObjectId newCommitId, String originalRefValue) { updateRemoteRef(refspec, newCommitId, false); }
/** * Perform post-push actions, this includes verification that the remote wasn't changed while we * were pushing. * * @param refspec the refspec that we are pushing to * @param newCommitId the new commit id * @param originalRefValue the original value of the ref before pushing */ protected void endPush(String refspec, ObjectId newCommitId, String originalRefValue) { updateRemoteRef(refspec, newCommitId, false); }