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:
@ -175,6 +175,11 @@ For shell scripts specifically (not exhaustive):
|
|||||||
|
|
||||||
does not have such a problem.
|
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:
|
For C programs:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user