diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-02-12 13:00:19 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-02-16 12:30:39 +0200 |
commit | d86d9592a1765d66f5e2a5d0bba7ed1490e742e0 (patch) | |
tree | d1949f64a05582e3bed9425830e5a6ee09794dd0 | |
parent | e201cb4f5450a84fc669e313bc039174cf54c263 (diff) |
utils: checkstyle.py: Restore checks of renamed files
Commit fc91951250ca ("utils: checkstyle.py: Add ability to filter files
by status in a commit") caused all renamed files to be ignored by the
checker. Fix it.
Fixes: fc91951250ca ("utils: checkstyle.py: Add ability to filter files by status in a commit")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rwxr-xr-x | utils/checkstyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py index fb9366f8..93a4fc70 100755 --- a/utils/checkstyle.py +++ b/utils/checkstyle.py @@ -214,7 +214,7 @@ class Commit: self._files = [CommitFile(f) for f in files[1:]] self._title = files[0] - def files(self, filter='AM'): + def files(self, filter='AMR'): return [f.filename for f in self._files if f.status in filter] @property |