aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/CodingGuidelines
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-26 11:10:23 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-26 11:10:23 -0700
commitb452be06ffc425b0e7616e09b13f692d2a1aef3a (patch)
treef29f0e09cf9412591b91b03d37356cfd3b2c3411 /Documentation/CodingGuidelines
parent9a7bd3d0cb2b08b29edfe51b61893dc6856e74f0 (diff)
parent67be8c4de5255efd95c48c9ddd6cd8537fbf03d1 (diff)
downloadgit-b452be06ffc425b0e7616e09b13f692d2a1aef3a.tar.gz
Merge branch 'jc/document-use-of-local' into maint-2.46
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 52afb2725f..8fb873358a 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