summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLucian Poston <lucian.poston@gmail.com>2012-04-16 03:44:50 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-16 11:28:30 -0700
commit5e71a84a2da8f5dd32c13392854eab4d448c8085 (patch)
treef2fe98b17d67ffa9af3b22a4f37252eee2d30855 /diff.h
parent8c188c74e3f04ab75a42d43375a011f286cb1b66 (diff)
downloadgit-5e71a84a2da8f5dd32c13392854eab4d448c8085.tar.gz
Add output_prefix_length to diff_options
Add output_prefix_length to diff_options. Initialize the value to 0 and only set it when graph.c:diff_output_prefix_callback() is called. Signed-off-by: Lucian Poston <lucian.poston@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 cb687436a0..19d762fcd3 100644
--- a/diff.h
+++ b/diff.h
@@ -150,6 +150,7 @@ struct diff_options {
diff_format_fn_t format_callback;
void *format_callback_data;
diff_prefix_fn_t output_prefix;
+ int output_prefix_length;
void *output_prefix_data;
};