diff options
author | Russell Belfer <rb@github.com> | 2012-09-10 09:59:14 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-09-10 09:59:14 -0700 |
commit | b36effa22e015871948daeea250b4996c663e11a (patch) | |
tree | 17841fe3ca402f27c255a60f6cf2f6698dc96d1c /tests-clar/diff/diffiter.c | |
parent | 3a3deea80bb6555706f58006bdee8e878b0fd651 (diff) | |
download | libgit2-b36effa22e015871948daeea250b4996c663e11a.tar.gz |
Replace git_diff_iterator_num_files with progress
The `git_diff_iterator_num_files` API was problematic, since we
don't actually know the exact number of files to be iterated over
until we load those files into memory. This replaces it with a
new `git_diff_iterator_progress` API that goes from 0 to 1, and
moves and renamed the old API for the internal places that can
tolerate a max value instead of an exact value.
Diffstat (limited to 'tests-clar/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions