From 2bb202009a09bed3fc9267dd332f87512cfd02d1 Mon Sep 17 00:00:00 2001 From: Denis Marin Date: Tue, 21 Jul 2026 12:33:01 +0200 Subject: [PATCH] BCM-38032: GIT-HELPERS: bc-show-eligible: stop searching for newlines in commit messages --- bin/git-bc-show-eligible | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-bc-show-eligible b/bin/git-bc-show-eligible index c67088b..98a6958 100755 --- a/bin/git-bc-show-eligible +++ b/bin/git-bc-show-eligible @@ -258,7 +258,7 @@ def main(): author_info = '' if args.all: author_info = author_format_str % (commit.author.name, commit.author.email) - commit_msg = commit.message[:commit.message.index('\n')] + commit_msg = commit.message.partition('\n')[0] return commit_format_str % (hash_fn(commit.id), commit_msg, author_info) first_parent_set = build_first_parent_set(repo, from_commit, base_id)