diff options
author | Lucian Poston <lucian.poston@gmail.com> | 2012-04-16 12:44:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-16 20:28:30 +0200 |
commit | 5e71a84a2da8f5dd32c13392854eab4d448c8085 (patch) | |
tree | f2fe98b17d67ffa9af3b22a4f37252eee2d30855 /diff.h | |
parent | t4052: test --stat output with --graph (diff) | |
download | git-5e71a84a2da8f5dd32c13392854eab4d448c8085.tar.xz git-5e71a84a2da8f5dd32c13392854eab4d448c8085.zip |
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; }; |