diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-11 09:27:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-11 09:27:22 +0300 |
commit | 0b77301bf4c8e3b37beee0b5c8dcf26beaa6e789 (patch) | |
tree | 366376ef6246a47b16118fa996dc9589b4f230c5 /Documentation | |
parent | 74339f814c31ff7c4717fa401467d0f8c0ba70c1 (diff) | |
parent | a84fd3bcc6253f847af3366ebb9de9b8f441a624 (diff) |
Merge branch 'jc/test-allows-local'
Document that our test can use "local" keyword.
* jc/test-allows-local:
CodingGuidelines: explicitly allow "local" for test scripts
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/CodingGuidelines | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 1ff6d8e2d2..e3af089ecf 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -175,6 +175,11 @@ For shell scripts specifically (not exhaustive): does not have such a problem. + - 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 ;-) + For C programs: |