gpush/gpick: reshuffle sanity check in analyze_local_branch() somewhat


run it on the re-enumerated commits rather than the raw ones. most
visibly, this saves one loop. it also has the effect of checking only
along the 1st parents, which is consistent with the overall operation of
the scripts. another effect will manifest only after a subsequent patch:
no double-examination of some commits.

Change-Id: I60b612a52b9e86470f7b75241e45dae4e8637e77
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commit297737fbf9b5d7eb1d48006d9046504ddd965864
parent5282ef6a522196c4acea69379ae20bd9016d3186
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:39:31 +0000