How do I get a list of gerrit commits between start and end SHA1 without cloning the project

43 Views Asked by At

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.

0

There are 0 best solutions below