Reputation: 6159
I want to create a metric that shows me "changed lines of code" per "Bug" between two Versions (in my case branches in git).
Because our application has a lot of .swf files, I don't need to count those swf's files and I just want to count the java, xml and so on.
Is there some kind of tool who does that? or a git command like git diff --stat
for a specific file type?
Upvotes: 6
Views: 3865
Reputation: 12393
Does
git diff --stat branch1..branch2 -- '*.java' '*.xml'
do the job for you?
For me it does, but with *.c
and *.h
.
Upvotes: 17