From: Mike Frysinger Date: Wed, 9 Feb 2022 17:38:57 +0000 (-0500) Subject: git-rb-catchup: log first failure info X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f985e3fb80878a6d9cbf6af22304221014d53d4b;p=home.git git-rb-catchup: log first failure info --- 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!')