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
I tried creating user-defined rules on a Windows host (using Git-Bash) and those are not discovered.
I have created a CommitRule UC1 based on one of your examples.
@ttwister I just tried this on Windows 10 (python 2.7) against the master branch of gitlint itself, and it works for me if I use --ignore-stdin to work around #91.
Administrator@EC2AMAZ-SLPGD0V MINGW64 /C/Users/Administrator/gitlint (master)
$ gitlint --ignore-stdin --extra-path examples/my_commit_rules.py
1: UC1 Body contains too many lines (14 > 3)
1: UC2 Body does not contain a 'Signed-Off-By' line
Also worked on regular CMD (without --ignore-stdin):
(.venv) C:\Users\Administrator\gitlint>gitlint --extra-path examples\my_commit_rules.py
1: UC1 Body contains too many lines (14 > 3)
1: UC2 Body does not contain a 'Signed-Off-By' line
Hello,
I tried creating user-defined rules on a Windows host (using Git-Bash) and those are not discovered.
I have created a CommitRule UC1 based on one of your examples.
Do you experience the same behavior?
Originally posted by @ttwister in #20 (comment)
The text was updated successfully, but these errors were encountered: