diff options
author | Vicent Marti <tanoku@gmail.com> | 2012-09-06 10:08:14 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2012-09-06 10:08:14 +0200 |
commit | 2e4a9ea9cf8cf12199ea17b0aab50219380b8311 (patch) | |
tree | 7bccb1732b38799a51e5e99fa1a8cc50839b0c7f /tests-clar/diff/diff_helpers.h | |
parent | 27730eefb9b0b4619006fd7d590bca54c0537090 (diff) | |
parent | 510f1bac6b94ce19459498ae78f87fc4f4552305 (diff) | |
download | libgit2-2e4a9ea9cf8cf12199ea17b0aab50219380b8311.tar.gz |
Merge remote-tracking branch 'arrbee/diff-iterator' into development
Diffstat (limited to 'tests-clar/diff/diff_helpers.h')
-rw-r--r-- | tests-clar/diff/diff_helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests-clar/diff/diff_helpers.h b/tests-clar/diff/diff_helpers.h index 0aaa6c11..79e14092 100644 --- a/tests-clar/diff/diff_helpers.h +++ b/tests-clar/diff/diff_helpers.h @@ -45,3 +45,9 @@ extern int diff_line_fn( const char *content, size_t content_len); +extern int diff_foreach_via_iterator( + git_diff_list *diff, + void *data, + git_diff_file_fn file_cb, + git_diff_hunk_fn hunk_cb, + git_diff_data_fn line_cb); |