From f985e3fb80878a6d9cbf6af22304221014d53d4b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 9 Feb 2022 12:38:57 -0500 Subject: [PATCH] git-rb-catchup: log first failure info --- .bin/git-rb-catchup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bin/git-rb-catchup b/.bin/git-rb-catchup index cb34e13..5cfdfc8 100755 --- a/.bin/git-rb-catchup +++ b/.bin/git-rb-catchup @@ -86,12 +86,13 @@ def rebase_bisect(lbranch: str, if pmin or pmax: last_target = f'{rbranch}~{first_fail}' + result = git(['log', '-1', '--format=%s', last_target]) + subject = result.stdout.strip() if leave_rebase: print('Restarting', last_target) result = git(['rebase', last_target], check=False) print(result.stdout.strip()) - else: - print('Found first failure', last_target) + print(f'* Found first failure {last_target}: {subject}') else: print('All caught up!') -- 2.39.5