1
0
mirror of https://github.com/git/git.git synced 2024-09-28 17:22:20 +02:00

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
This commit is contained in:
Junio C Hamano 2021-05-11 15:27:22 +09:00
commit 0b77301bf4

@ -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: