]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Aug 2020 17:06:11 +0000 (10:06 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 17:06:11 +0000 (10:06 -0700)
commit09d82609be3d4903104610ed918caeefb953f79a
tree7f4c516abb2d9edd5785c17c10fa9842f087a965
parent860bc0ea70c365825bfd9b7de7685cf6842ca3c7
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 eaa551702d80fd67219c48ee6a13ffb571ca360b)

Co-authored-by: Victor Stinner <vstinner@python.org>
.github/workflows/build.yml