From: Patrick Donnelly Date: Tue, 19 May 2026 16:55:21 +0000 (-0400) Subject: script/ptl-tool: allow automatic links for commit sha X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F69004%2Fhead;p=ceph.git script/ptl-tool: allow automatic links for commit sha Wrapping in backticks renders it as teletype text and prevents Github from automatically generating links to the commits. Signed-off-by: Patrick Donnelly --- diff --git a/src/script/ptl-tool.py b/src/script/ptl-tool.py index 31ddb55edc8c..69fb93a9926b 100755 --- a/src/script/ptl-tool.py +++ b/src/script/ptl-tool.py @@ -1192,7 +1192,7 @@ class ConflictSimulationCheck(BaseAuditCheck): md_text = textwrap.dedent(md_text) for dev in recorded_deviations: - md_text += f"#### Deviation in Backport `{dev['bp_sha'][:8]}` (cherry-pick of `{dev['orig_sha'][:8]}`)\n\n" + md_text += f"#### Deviation in Backport {dev['bp_sha'][:8]} (cherry-pick of {dev['orig_sha'][:8]})\n\n" if dev['unmerged']: md_text += "**Affected File(s)**\n"