casperdcl/git-fame

Bug in the counting of lines of code

j-mortara opened this issue · 2 comments

Hi,

I found a bug in the counting of lines of code. Actually, git-fame only counts one line for a block of lines owned by the same author. Here is an example :

When committing this code, as there is only one author, git-fame counts one line of code.

I propose a correction, which you can see here : https://github.com/trinity357/git-fame (The last three commits are the modifications I applied.)
After these changes, git-fame detects all the lines of code.

May I send you a pull request ?

Thanks @trinity357 - yes, do open a PR

closed by #15