Submitter | phabricator |
---|---|
Date | Dec. 5, 2017, 10:03 p.m. |
Message ID | <differential-rev-PHID-DREV-5hzp7z2fddfgpc2d5l5o-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/25947/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -149,6 +149,8 @@ (r'env.*-u', "don't use 'env -u VAR', use 'unset VAR'"), (r'cp.* -r ', "don't use 'cp -r', use 'cp -R'"), (r'grep.* -[ABC]', "don't use grep's context flags"), + (r'find.*-printf', + "don't use 'find -printf', it doesn't exist on BSD find(1)"), ], # warnings [