adamtornhill / code-maat

A command line tool to mine and analyze data from version-control systems

Home Page:http://www.adamtornhill.com/code/codemaat.htm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

messages: unable to run code maat with -a messages

jbiswas opened this issue · comments

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

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

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"

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.

Solved and addressed in issue #74