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

Add summary info #23

Open
okainov opened this issue Apr 1, 2020 · 2 comments
Open

Add summary info #23

okainov opened this issue Apr 1, 2020 · 2 comments

Comments

@okainov
Copy link

okainov commented Apr 1, 2020

I think it would be useful to have some summary of the execution in addition to exitcode, like

XXX files checked
Y of them are not formatted correctly / Everything is OK

With maybe even list of files having issues.

The use case is when I integrate the script i.e. in git pre-commit hook and I don't want to see the full diff, but I'd like to have some useful human-readable output, so developers know where are the issues

@Sarcasm
Copy link
Owner

Sarcasm commented Apr 2, 2020

For a git pre-commit hook, I think it would be more suitable to use:

git clang-format --diff

@Sarcasm
Copy link
Owner

Sarcasm commented Apr 2, 2020

But still, summary info isn't a bad idea.

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

No branches or pull requests

2 participants