[PATCH v28 1/2] refactor format_branch_comparison in preparation | The Git List