git-keywords-checker
git-keywords-checker copied to clipboard
Don't throw error if the matched keyword is commented
We may need to add a configuration to determine if we want to strictly match commented keywords.
// var_dump($dummy);
It may not be matched based on flag.
You don't need comments like that in your commits. If I really, really do want to commit comments like that I would use the --no-verifiy
option flag.
@hkdobrev, that's right, the problem is I may want to strictly check for some keyword while accepting those which are commented.
In development phase, it is sometimes useful to let a commented log. That's why I think a flag would be nice to avoid a two step process (first commit, then add the --no-verify
option.