Community
Participate
Working Groups
Edwin Kempin from the Gerrit team says: "For checking whether a certain Gerrit project exists, you could use the 'ls-remote' command. $ git ls-remote ssh://<repo> HEAD <some-commitid> HEAD => project exists $ git ls-remote ssh://<repo> HEAD fatal: '/non-existing-project.git': not a Gerrit project fatal: The remote end hung up unexpectedly => project does not exist That should improve the performance considerably compared to retrieving all projects with 'ls-projects' first and then iterating through that list to find out whether a project exists."
would require native git installation on Gerrit server