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
New parser request: git log --numstat #461
Comments
Thanks for the parser request! Seems like a good addition. Might be a new parser or a possible addition to the existing |
I was about to file a similar issue. Before digging in, I'd like to verify @kellyjonbrazil that you'd be interested in merging the change in. Proposal would be to change output of
To output of:
Without digging in more, I have some concern around complexity of the change as we'd need to use A few questions:
|
With respect to the schema change, could we add a new field called file_stats or similar that would contain the list of file objects? This way the schema is backwards compatible and the new field would come up when more detailed data is available.
I’ll definitely take a look at a PR if someone wants to take this on.
If the code changes are too crazy we can also do a check to see what “type” of git-log output we are dealing with and dispatch to the correct parse function for that type. That can keep the code cleaner and we have done that in the past for netstat and others.
|
It would be nice to have a parser for
git log --numstat
. This command shows the number of additions and deletions for each file in a commit.The text was updated successfully, but these errors were encountered: