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

Commit 2cd58d8

Browse files
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)
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 9c253f4 commit 2cd58d8

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 1 deletion

0 commit comments

Comments
 (0)