-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Annotate specific files only #207
Comments
Sure But you could also implement a git diff based run (only files that have been touched) etc. |
The idea is good, feel free to PR a git diff based filtering as e.g. |
Hi, |
Sure |
To have an idea, here is what I currently implemented:
|
The code above will also annotate the files which have exactly the same name as the amended files. |
I was expecting to have just one line of code, as it is possible for the php-cs-fixer library: |
My current issue is that when I specify the path as well, the file is not found to be annotated. |
We could either make --filter smarter, or we use a different --path element to check specific paths only. |
Alright, since we need only specific files (with full paths and extensions) to be annotated, we could check, if the value entered in the |
We could also add the ability to handle multiple files with full paths (separated by a space) i.e: |
instead of space, comma separated might work |
Alright, as soon as I do the update, will open a PR |
Did you have a chance to look into this further? |
ping @vidrascus |
Hello,
Is it feasible to annotate specific files only?
I need to run the 'annotate' command only for the amended files, before doing a git commit, not always for all files.
The text was updated successfully, but these errors were encountered: