Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix clang-tidy-diff when no files in the repo have changed #4

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

woodfell
Copy link
Contributor

@woodfell woodfell commented Jun 6, 2019

The clang-tidy-diff command runs clang-tidy and passes only the files in the repository which have changed. If nothing in the repo has changed clang-tidy ends up throwing an error. The PR adds a check to the command so that clang-tidy doesn't even run if there is nothing to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants