Describe the bug
A clear and concise description of what the bug is.
scc ignores --not-match flag or -M flag entirely.
To Reproduce
Just use scc -M '.*\.go' on scc repository itself.
Expected behavior
You should not see any go source file counted in the result.
Desktop (please complete the following information):
OS: Linux
Version 3.3.3
Some extra information:
Flag --not-match/-M binds to processor.Exclude, which has two usages in old revisions. One at main.go and one at processor/file.go. However, in the latest revision it only has one usage in main.go for registering flags. git bisect shows that 33cb71dcbf589b3c681ae4522bf6f8480a60085a is the first commit that processor module no longer cares about the value of processor.Exclude.
Describe the bug A clear and concise description of what the bug is.
scc
ignores--not-match
flag or-M
flag entirely.To Reproduce
Just use
scc -M '.*\.go'
on scc repository itself.Expected behavior
You should not see any go source file counted in the result.
Desktop (please complete the following information):
Some extra information:
Flag
--not-match
/-M
binds toprocessor.Exclude
, which has two usages in old revisions. One atmain.go
and one atprocessor/file.go
. However, in the latest revision it only has one usage inmain.go
for registering flags.git bisect
shows that 33cb71dcbf589b3c681ae4522bf6f8480a60085a is the first commit thatprocessor
module no longer cares about the value ofprocessor.Exclude
.