adamtornhill / code-maat

A command line tool to mine and analyze data from version-control systems
http://www.adamtornhill.com/code/codemaat.htm
2.37k stars 218 forks source link

messages: unable to run code maat with -a messages #57

Closed jbiswas closed 3 years ago

jbiswas commented 6 years ago

Do you have an example of how to analyze commit messages?

I tried -a messages -e fix but I get no results.

adamtornhill commented 6 years ago

It does look like there's a bug in the -a messages analysis -- I don't get any results either, so this needs to be debugged and fixed.

Fortunately, there's an easy way to get the same effect from the command line. Here's how you can do it from a Bash shell: git log --pretty=format:'%s' | grep -o "[Bb]ug"

jbiswas commented 6 years ago

Thanks Adam. Actually what I was looking for was how often a file is involved in bug fixes. I ended up using a long-ish bash command to get that result.

adamtornhill commented 3 years ago

Solved and addressed in issue #74