diff options
| author | Matt Hunter <m@lfurio.us> | 2026-03-07 18:50:52 -0500 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-03-16 04:36:28 -0400 |
| commit | 08ad67de221f737457cb8efc9bf02707d2aca549 (patch) | |
| tree | 3d1c239efffe4ef6981de7e43823c18890a8e4c3 /git-precheck | |
| parent | 8d429259e3fb9c22bc3a3935bc3d41417dadedf5 (diff) | |
| download | git-sonar-08ad67de221f737457cb8efc9bf02707d2aca549.tar.gz git-sonar-08ad67de221f737457cb8efc9bf02707d2aca549.zip | |
Remove shell regex evaluation
Tests performed with `[[ ]]` are not supported in POSIX-compliant shell.
However, regex evaluation with the `=~` operator is a specific bashism
which has no direct counterpart in POSIX, so I wanted to handle these
cases in their own patch.
We can simply use grep to evaluate these tests instead. The same regex
syntax is supported.
Signed-off-by: Matt Hunter <m@lfurio.us>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
