rev-list: move code to show bisect vars into its own function