summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-04-15 11:46:28 -0500
committerGitHub <noreply@github.com>2017-04-15 11:46:28 -0500
commit5aa273b3198850301a7a2927e07c5ccabab6b08a (patch)
treeb5cbf2246693dae5c737b73a3ca7f318f54395d9 /lib
parentbd1beedaf52617df6a6baac8ebfbb06de3cdc03d (diff)
downloadspack-5aa273b3198850301a7a2927e07c5ccabab6b08a.tar.gz
spack-5aa273b3198850301a7a2927e07c5ccabab6b08a.tar.bz2
spack-5aa273b3198850301a7a2927e07c5ccabab6b08a.tar.xz
spack-5aa273b3198850301a7a2927e07c5ccabab6b08a.zip
Fix flake8 changed files detection (#3855)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/flake8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
index a6dc941190..546a27c765 100644
--- a/lib/spack/spack/cmd/flake8.py
+++ b/lib/spack/spack/cmd/flake8.py
@@ -88,7 +88,7 @@ def changed_files():
git_args = [
# Add changed files committed since branching off of develop
- ['diff', '--name-only', '--diff-filter=ACMR', 'develop'],
+ ['diff', '--name-only', '--diff-filter=ACMR', 'develop...'],
# Add changed files that have been staged but not yet committed
['diff', '--name-only', '--diff-filter=ACMR', '--cached'],
# Add changed files that are unstaged