diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-11 15:27:22 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-11 15:27:22 +0900 |
commit | 0b77301bf4c8e3b37beee0b5c8dcf26beaa6e789 (patch) | |
tree | 366376ef6246a47b16118fa996dc9589b4f230c5 /Documentation/CodingGuidelines | |
parent | Merge branch 'nc/submodule-update-quiet' (diff) | |
parent | CodingGuidelines: explicitly allow "local" for test scripts (diff) | |
download | tgif-0b77301bf4c8e3b37beee0b5c8dcf26beaa6e789.tar.xz |
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/CodingGuidelines')
-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: |