diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-10-24 06:39:11 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-10-24 06:39:11 -0500 |
| commit | 0285359a1418def10b4dbd3c94af7855bad54eca (patch) | |
| tree | b3d0afd44837e53b4b747837940479b3a5596144 /src/flake8 | |
| parent | 7fc699e28bda8678d60d7a152a2341781f02220b (diff) | |
| parent | 2eec5060e9ddbb2cb18add3ae88723279a2f2ea9 (diff) | |
| download | flake8-0285359a1418def10b4dbd3c94af7855bad54eca.tar.gz | |
Merge branch 'patch-1' of skovorodkin/flake8
Diffstat (limited to 'src/flake8')
| -rw-r--r-- | src/flake8/main/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/main/git.py b/src/flake8/main/git.py index 8603f67..642ff38 100644 --- a/src/flake8/main/git.py +++ b/src/flake8/main/git.py @@ -141,7 +141,7 @@ def make_temporary_directory_from(destination, directory): def find_modified_files(lazy): diff_index = piped_process( - ['git', 'diff-index', '--cached', '--name-only', + ['git', 'diff-index', '' if lazy else '--cached', '--name-only', '--diff-filter=ACMRTUXB', 'HEAD'], ) |
