Affected Version:
2.5
What steps will reproduce the problem?
1. Add some change to index
2. Commit change to local repo
3. Push change for revie to gerrit using:
git push receive-pack='git receive-pack --reviewer=<reviewer_mail>' <gerrit_url> refs/for/branch
What is the expected output? What do you see instead?
Mail to reviewer specified in after "--reviewer" should be send and that reviewer should be visible in changes page in Gerrit web page.
It's worth to note that this feature does not work only if reviewer is the same as the author of change. If other user (reviewer) specified then everything works great.
You can say that you should not set yourself as a reviewer. But you can do this in Gerrit's web page.