Skip to content

bisect: match git's quoted bad-commit completion output - #308

Open
bhcopeland wants to merge 1 commit into
kernelci:mainfrom
bhcopeland:bisect-first-bad-commit-quoting
Open

bisect: match git's quoted bad-commit completion output#308
bhcopeland wants to merge 1 commit into
kernelci:mainfrom
bhcopeland:bisect-first-bad-commit-quoting

Conversation

@bhcopeland

Copy link
Copy Markdown
Member

Newer git prints " is the first 'bad' commit" with the term quoted, so the plain substring check missed the completion case and the next-commit regex then failed, exiting with an error. Match the term with or without quotes.

Newer git prints "<sha> is the first 'bad' commit" with the term
quoted, so the plain substring check missed the completion case and the
next-commit regex then failed, exiting with an error. Match the term
with or without quotes.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
@bhcopeland
bhcopeland requested a review from aliceinwire August 24, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant