summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-22 20:42:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-22 20:42:48 (GMT)
commit7d28d691749a9c37aa1f490454f1d2c8a285e672 (patch)
treedb766d2b9f99b6b16340c0fe74e774ce60e6a413 /Documentation
parentdfdce31ce6c9c4d7266031ea70f982e7f22bb525 (diff)
parent78725ebda9577ec86a9657d20b8ee8c2a099601d (diff)
downloadgit-7d28d691749a9c37aa1f490454f1d2c8a285e672.zip
git-7d28d691749a9c37aa1f490454f1d2c8a285e672.tar.gz
git-7d28d691749a9c37aa1f490454f1d2c8a285e672.tar.bz2
Merge branch 'jc/allow-strlen-substitution-in-shell-scripts'
Coding guideline update. * jc/allow-strlen-substitution-in-shell-scripts: CodingGuidelines: allow ${#posix} == strlen($posix)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/CodingGuidelines2
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index ed4e443..390ceec 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 $(( ... )).