summaryrefslogtreecommitdiff
path: root/Documentation/CodingGuidelines
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-14 14:54:58 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-14 14:54:58 -0700
commitdd59778f763f9e8d54d04747880e2f0a9fcd708f (patch)
treeda9a183730d5fdcc3345ba535ec212deb000bdcf /Documentation/CodingGuidelines
parent4a443f00c4988e1e59e919c3c4a8873a0d1c2b5a (diff)
parent67be8c4de5255efd95c48c9ddd6cd8537fbf03d1 (diff)
Merge branch 'jc/document-use-of-local'
Doc update. * jc/document-use-of-local: doc: note that AT&T ksh does not work with our test suite
Diffstat (limited to 'Documentation/CodingGuidelines')
-rw-r--r--Documentation/CodingGuidelines4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index 2f35b6691f..e4bd0abdcd 100644
--- a/Documentation/CodingGuidelines
+++ b/Documentation/CodingGuidelines
@@ -185,8 +185,8 @@ For shell scripts specifically (not exhaustive):
- Even though "local" is not part of POSIX, we make heavy use of it
in our test suite. We do not use it in scripted Porcelains, and
- hopefully nobody starts using "local" before they are reimplemented
- in C ;-)
+ hopefully nobody starts using "local" before all shells that matter
+ support it (notably, ksh from AT&T Research does not support it yet).
- Some versions of shell do not understand "export variable=value",
so we write "variable=value" and then "export variable" on two