CONTRIBUTING.md: clarify that Bash 4+ optimizations are allowed

This commit is contained in:
native-api 2022-08-16 21:32:14 +03:00 committed by GitHub
parent afeb971fa2
commit e4a0c12b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,9 @@ General guidance
That's because that's the version shipped with MacOS. That's because that's the version shipped with MacOS.
(They didn't upgrade past it and switched to Zsh because later versions (They didn't upgrade past it and switched to Zsh because later versions
are covered by GPLv3 which has additional restrictions unacceptable for Apple.) are covered by GPLv3 which has additional restrictions unacceptable for Apple.)
You can still add performance optimizations and such that take advantage of newer Bash features
as long as there is a fallback execution route for Bash 3.
* Be extra careful when submitting logic specific for the Apple Silicon platform * Be extra careful when submitting logic specific for the Apple Silicon platform