I am trying to find a way to get a list of Gerrit commits between given start commit SHA to end commit SHA without cloning the repository.
I tried the following Gerrit query:
ssh -p 29418 my.gerrit.address gerrit query --format=JSON project:my-project <start-sha>..<end-sha>
But instead of getting a list of commits, I get the following response:
{"type":"stats","rowCount":0,"runTimeMilliseconds":5,"moreChanges":false}
There is the following solution but unfortunately it requires cloning.