Skip to content
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

Add DiffStats #525

Merged
merged 1 commit into from Apr 29, 2015
Merged

Add DiffStats #525

merged 1 commit into from Apr 29, 2015

Conversation

@carlosmn
Copy link
Member

carlosmn commented Apr 28, 2015

This wraps git_diff_stats and can be retrieved through a Diff. It
includes a formatting method.

I wasn't quite sure what to call the formatting function. It's called _to_buf() in C but the type is irrelevant in python, and something like to_string() didn't seem to fit as it takes options.

@carlosmn carlosmn force-pushed the carlosmn:diff-stats branch from f1c5311 to 6eb138f Apr 28, 2015
@carlosmn
Copy link
Member Author

carlosmn commented Apr 28, 2015

Oh, that python 3, I seem to forget how to create strings each time.

This wraps git_diff_stats and can be retrieved through a Diff. It
includes a formatting method.
@carlosmn carlosmn force-pushed the carlosmn:diff-stats branch from 6eb138f to 42d81e3 Apr 28, 2015
@jdavid jdavid merged commit 42d81e3 into libgit2:master Apr 29, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@carlosmn carlosmn deleted the carlosmn:diff-stats branch Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.