You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
In OSX the --null option is called -0 which also works in GNU versions, so we can easily replace that part. However the --no-run-if-empty does not exist, but could be simulated by assigning the result to a variable and checking if the variable is not empty.
When trying to commit on OSX (after properly installing the pre-commit hooks and
.gitlint.yaml
file), I receive the following error:xargs: illegal option -- -
I believe this is caused by this line as OSX xargs don't seem to support
--null
and--no-run-if-empty
. (Also seen in the hg file).I'd like to note that the actual
git lint
command works fine. I seem to only get this when trying to commit.The text was updated successfully, but these errors were encountered: