gpush/gpick: return found commits from analyze_local_branch()


..., so gpick doesn't need to invoke get_commits_free($local_tip) again.
the historical reason for this apparent sillyness is that prior to
a3a05fe72, we returned the raw rev-list without --first-parent (and in
97259060d, we stopped returning commits altogether).

Change-Id: I1fb8f636019f86214ac320d2ecc4ee7128cd4523
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commita176ee55da93b9ab77a91966743e0b1ad7ff795b
parentb5fe9961c3b1e3d2baa52d092a23ef7e2974af37
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 9 Jan 2024 16:38:15 +0000