From cd2c7b3bbd8f7dc3cb10d8a1b5d578744017a4aa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 Feb 2024 08:47:50 +0530 Subject: [PATCH] git rev-list --skip invocation changed --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 66178bc56..98467826d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -211,10 +211,10 @@ def commit_role( ' Link to a github commit ' try: commit_id = subprocess.check_output( - f'git rev-list --max-count=1 --skip=# {text}'.split()).decode('utf-8').strip() + f'git rev-list --max-count=1 {text}'.split()).decode('utf-8').strip() except Exception: msg = inliner.reporter.error( - f'GitHub commit id "{text}" not recognized.', line=lineno) + f'git commit id "{text}" not recognized.', line=lineno) prb = inliner.problematic(rawtext, rawtext, msg) return [prb], [msg] url = f'https://github.com/kovidgoyal/kitty/commit/{commit_id}'