diff --git a/doc/test_no_new_rst.py b/doc/test_no_new_rst.py index 1f830340bc1b..68077206723b 100644 --- a/doc/test_no_new_rst.py +++ b/doc/test_no_new_rst.py @@ -26,7 +26,7 @@ def _list_added_files(base: str, commit: str, remote: str = "origin") -> List[st "diff", "--name-only", "--diff-filter=A", - f"{remote}/{base}...{commit}", + f"FETCH_HEAD...{commit}", "--", ], text=True,