]> git.ipfire.org Git - thirdparty/git.git/commitdiff
CodingGuidelines: allow grep -E
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Wed, 21 Sep 2022 13:02:29 +0000 (20:02 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 18:00:18 +0000 (11:00 -0700)
Despite forbidden by CodingGuidelines, our usage of 'grep -E' has been
increased over the years, and noone has come and complained.

Let's lift the restriction.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines

index 9fca21cc5f9958fdfd044c5d34a2c142c87de51a..cb7a367ea08f9ab8c4326517d78af7a3ec486f0d 100644 (file)
@@ -162,8 +162,6 @@ For shell scripts specifically (not exhaustive):
 
    - We do not use \{m,n\};
 
-   - We do not use -E;
-
    - We do not use ? or + (which are \{0,1\} and \{1,\}
      respectively in BRE) but that goes without saying as these
      are ERE elements not BRE (note that \? and \+ are not even part