]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)
authorVictor Stinner <vstinner@python.org>
Mon, 10 Aug 2020 16:36:59 +0000 (18:36 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Aug 2020 16:36:59 +0000 (18:36 +0200)
commiteaa551702d80fd67219c48ee6a13ffb571ca360b
tree5282239acd880c8493389320d6d5cab240319220
parent4ce6faa6c9591de6079347eccc9e61ae4e8d9e31
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.
.github/workflows/build.yml