diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-22 13:42:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-22 13:42:48 -0700 |
commit | 7d28d691749a9c37aa1f490454f1d2c8a285e672 (patch) | |
tree | db766d2b9f99b6b16340c0fe74e774ce60e6a413 | |
parent | Merge branch 'en/pull-do-not-rebase-after-fast-forwarding' (diff) | |
parent | CodingGuidelines: allow ${#posix} == strlen($posix) (diff) | |
download | tgif-7d28d691749a9c37aa1f490454f1d2c8a285e672.tar.xz |
Merge branch 'jc/allow-strlen-substitution-in-shell-scripts'
Coding guideline update.
* jc/allow-strlen-substitution-in-shell-scripts:
CodingGuidelines: allow ${#posix} == strlen($posix)
-rw-r--r-- | Documentation/CodingGuidelines | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index ed4e443a3c..390ceece52 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -91,8 +91,6 @@ For shell scripts specifically (not exhaustive): - No shell arrays. - - No strlen ${#parameter}. - - No pattern replacement ${parameter/pattern/string}. - We use Arithmetic Expansion $(( ... )). |