-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when running git-fame in a specific repo #96
Comments
try using this instead
it's probably a data problem in the |
@ORESoftware that's indeed faster (thanks for the pointer!), but probably because it's counting something different: it seems to show only the total added/deleted/net lines, rather than the number of current code lines last touched by each author. Don't get me wrong: the total added/deleted/net counts are still valid and useful metrics — just not interchangeable with what |
what do you mean by current code lines versus total code lines? perhaps you mean just for the most recent commit? the NPM package is going to total everything that comes out of |
Yes, |
@waldyrious Thanks for the clarification. @ORESoftware |
@oleander I did notice that the README does not make this very clear, btw. It would be nice to add a clarification to prevent this mixup, WDYT? |
@waldyrious Feel free to add it to the README ツ |
so it uses fame via NPM looks at all the commits on a branch and looks at lines changed for each commit by author. |
It runs blame on every file in HEAD tracked by git. It then summarizes each
line for each file and returns the result.
tors 16 apr. 2020 kl. 18:35 skrev ORES <[email protected]>:
… so it uses git blame for every commit or just the most recent commit? if
its just the most recent commit, then that does not seem very comprehensive.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#96 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABV5G6L4BVELUAAGHHN6JDRM4XT7ANCNFSM4LV6CYNA>
.
|
@ORESoftware Just read your edit. The difference is that this tool only looks at active contributions. Let's say you wrote 5 LOC. 4 of them were later overridden, deleted or changed**. Now your contribution is only 1 LOC as 4 of them were overridden, deleted or changed. It's questionable wherever this is a good approach or not. I used it to evaluate a few private projects of mine about 8 years ago. For some reason, people kept on using it. ** Whitespace, newlines, and whatnot does not count |
I can consistently reproduce the following crash by running git fame in the alif-type/libertinus repository.
The command starts executing normally, then stops for several seconds at 68%:
It then crashes with the following output:
The full stack trace is printed after I hit Ctrl+C:
Happy to provide any additional information that may help debug the issue.
The text was updated successfully, but these errors were encountered: