summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-12 13:00:19 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-16 12:30:39 +0200
commitd86d9592a1765d66f5e2a5d0bba7ed1490e742e0 (patch)
treed1949f64a05582e3bed9425830e5a6ee09794dd0 /utils
parente201cb4f5450a84fc669e313bc039174cf54c263 (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>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/checkstyle.py2
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