gpush: do all rebases using the same git index


this is more efficient than creating a new index for each series.

Change-Id: I806ae5e6c785a0c9a89f128c0b1ada151e229794
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit308689232e841208fd2657b549125ae471933afd
parent6f3c0cc19ccbab807d299fc40663e096af22dd98
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:34:13 +0000