diff options
author | Lucian Poston <lucian.poston@gmail.com> | 2012-04-16 03:44:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-16 11:28:30 -0700 |
commit | 5e71a84a2da8f5dd32c13392854eab4d448c8085 (patch) | |
tree | f2fe98b17d67ffa9af3b22a4f37252eee2d30855 /diff.h | |
parent | 8c188c74e3f04ab75a42d43375a011f286cb1b66 (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; }; |