git-fame-rb icon indicating copy to clipboard operation
git-fame-rb copied to clipboard

Wrong data in by type

Open pallavahooja opened this issue 9 years ago • 2 comments

I ran git fame --branch=develop --by-type

screen shot 2016-06-30 at 11 48 45 am

The numbers of all different file types are not adding up to the total loc , and the data seems to be wrong.

I am not sure if I remember it correctly but it used to work fine in some previous version

pallavahooja avatar Jun 30 '16 06:06 pallavahooja

Hi!

That's the number of files, not loc. So you would have 21 java files for the first user and 2485 for the second one.

oleander avatar Jun 30 '16 06:06 oleander

You're right. The original intent was (after verifying the old code) to count the number of lines per file type, not the number of files. Thanks for your bug report.

oleander avatar Jun 30 '16 06:06 oleander