gpick: beautify PatchSet fetching debug output somewhat


don't alias the ref when we actually already have the PatchSet. this
changes only the debug output, as changing the ref would be simply a
noop. we may now try to visit already visited commits, for which we'll
get corresponding debug output as well.

also sort the keys in the surrounding loop.

Change-Id: I096b69f32964038b20bd1b0e8ca4ec1c33f4725d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commitc1accae53e7c52dcc522664608cbc1fe60609b54
parentc4b9a0be28bedad16fb16a8ae4ebe89f45fe680b
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit timeTue, 18 May 2021 11:04:48 +0000