]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script/ptl-tool: allow automatic links for commit sha 69004/head
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 19 May 2026 16:55:21 +0000 (12:55 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 19 May 2026 16:55:21 +0000 (12:55 -0400)
Wrapping in backticks renders it as teletype text and prevents Github
from automatically generating links to the commits.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/ptl-tool.py

index 31ddb55edc8cfda1884a9d9ef4f0bea1553302ba..69fb93a9926bd04d3895144aba1d8a4509e982cd 100755 (executable)
@@ -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"