Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Exit silently when the specified commit range is empty #46

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

tommyip
Copy link
Contributor

@tommyip tommyip commented Dec 22, 2017

Reduce confusion on whether the lint check is successful/failed.

@tommyip
Copy link
Contributor Author

tommyip commented Dec 22, 2017

Python 3.6 build failed due to \r\n return characters.

@jorisroovers
Copy link
Owner

Hey @tommyip, hope you are well :)

Being nitpicky, but can you maybe replace the echo with a LOG.debug statement instead of removing it?

Debug log example: https://github.com/jorisroovers/gitlint/blob/master/gitlint/cli.py#L140

@jorisroovers jorisroovers added the suggestion Opinionated suggestion made by user, not clear whether it should be a feature label Mar 30, 2018
@jorisroovers jorisroovers merged commit 638428a into jorisroovers:master Mar 30, 2018
@jorisroovers
Copy link
Owner

Merging this in, I'll follow up with a commit to add the debug statement.

jorisroovers pushed a commit that referenced this pull request Mar 30, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
suggestion Opinionated suggestion made by user, not clear whether it should be a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants