rev-list: refactor printing bisect vars