summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-11-06 14:24:26 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-06 14:24:26 +0900
commitf4c214b529336124f8642f1373cd4a549d5e7743 (patch)
treec773246b57a472d441863f7126c1abfd9cbfa741 /diff.h
parentMerge branch 'ds/find-unique-abbrev-optim' (diff)
parentrevision: quit pruning diff more quickly when possible (diff)
downloadtgif-f4c214b529336124f8642f1373cd4a549d5e7743.tar.xz
Merge branch 'jk/revision-pruning-optim'
Pathspec-limited revision traversal was taught not to keep finding unneeded differences once it knows two trees are different inside given pathspec. * jk/revision-pruning-optim: revision: quit pruning diff more quickly when possible
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index aca150ba2e..398b87b4cf 100644
--- a/diff.h
+++ b/diff.h
@@ -180,6 +180,7 @@ struct diff_options {
pathchange_fn_t pathchange;
change_fn_t change;
add_remove_fn_t add_remove;
+ void *change_fn_data;
diff_format_fn_t format_callback;
void *format_callback_data;
diff_prefix_fn_t output_prefix;