ggc: setup gerrit config only if querying changes


this avoids pointless error messages if one always uses git-gpull even
while not having a writable remote set up.

Change-Id: Id868612a2a0d441b92554dc7d25478831acb9089
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commite211a3ec5992f0e996664264fcfaf139c0d97228
parent84a022344a0f4986f58c690eb933da480a59957f
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 18 May 2021 11:02:12 +0000