bpo-40548: Fix "Check for source changes (pull_request)" GH Action jo… · python/cpython@9d58933 · GitHub
Skip to content

Commit 9d58933

Browse files
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806) (GH-92342)
On Git 2.28, "git diff master..." (3 dots) no longer works when "fetch --depth=1" is used, whereas it works on Git 2.26. Replace "..." (3 dots) with ".." (2 dots) in the "git diff" command computing the list of modified files between the base branch and the PR branch. (cherry picked from commit eaa5517) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 9da3502 commit 9d58933

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions

0 commit comments

Comments
 (0)