pinpt / ripsrc

Library for ripping through git repos to analyze the source code
MIT License
22 stars 5 forks source link

Add CodeByCommit method that returns code information grouped by commit. #15

Closed xzandrew closed 5 years ago

xzandrew commented 5 years ago

This fixes a bug where commits without any files were not returned by Code call. This is required to correctly get last processed commit.

When using old Code method if the last commit is a merge with no file changes, it would be ignored and incremental run would fail with an error.

Also fixes a data race.