At the moment I use git ls-remote to check if a some changes are present on Gerrit server. But not all changes are can be checked is way, particularly merges which do not appear in git ls-remote output.
How can I check if a change is present on Git server without cloning the repo. I'm aware git -r --contains can be used from within the repository.