Skip to content

Commit

Permalink
minor #5233 DX: simplify check_file_permissions.sh (kubawerlos)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.15 branch.

Discussion
----------

DX: simplify check_file_permissions.sh

Since [Git is only tracking executable bit](https://medium.com/@tahteche/how-git-treats-changes-in-file-permissions-f71874ca239d) this check is enough.

Commits
-------

723ea75 DX: simplify check_file_permissions.sh
  • Loading branch information
SpacePossum committed Nov 7, 2020
2 parents b5a23c5 + 723ea75 commit 829cb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/check_file_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ files_with_wrong_permissions=$(
':!*.sh' \
':!php-cs-fixer' \
':!dev-tools/*.php' \
| grep -P "^100\d\d(1|3|5|7) " \
| grep -P "^100755 " \
| sort -fh
)

Expand Down

0 comments on commit 829cb5d

Please sign in to comment.