gpush: skip advance_base() when there are no upstreamed Changes


this is technically a minor optimization, but will be actually a bugfix
after the next commit (when the commits in 'pushed' don't necessarily
have Change-Ids).

Change-Id: Ie4b6a18150cbecd7889f221ceb8719f12b31c9a7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit8945f3cffd24058b84c8ec49c1235fba9a487a24
parentc11a7d3bd70821c6b2784ed56a390d3874c842e4
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:36:08 +0000