summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diffiter.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-09-10 09:59:14 -0700
committerRussell Belfer <rb@github.com>2012-09-10 09:59:14 -0700
commitb36effa22e015871948daeea250b4996c663e11a (patch)
tree17841fe3ca402f27c255a60f6cf2f6698dc96d1c /tests-clar/diff/diffiter.c
parent3a3deea80bb6555706f58006bdee8e878b0fd651 (diff)
downloadlibgit2-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