◐ Shell
clean mode source ↗

[3.9] bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806) by miss-islington · Pull Request #21814 · python/cpython

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

https://bugs.python.org/issue40548