summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h
index 1e3be7593..3df7ce6d6 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -61,5 +61,11 @@ extern bool git_diff_delta__should_skip(
extern int git_diff__oid_for_file(
git_repository *, const char *, uint16_t, git_off_t, git_oid *);
+extern int git_diff__tree_to_index(
+ git_diff_list **diff,
+ git_tree *tree,
+ git_index *index,
+ const git_diff_options *opts);
+
#endif