There is an empty line between the commit message and the diff output. Add the graph columns as prefix of this line. Signed-off-by: Bo Yang <struggleyb.nku@xxxxxxxxx> --- log-tree.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/log-tree.c b/log-tree.c index d3ae969..1da4ea7 100644 --- a/log-tree.c +++ b/log-tree.c @@ -469,6 +469,10 @@ int log_tree_diff_flush(struct rev_info *opt) int pch = DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH; if ((pch & opt->diffopt.output_format) == pch) printf("---"); + if (opt->diffopt.output_prefix) { + opt->diffopt.output_prefix(opt->diffopt.file, + 1, opt->diffopt.output_prefix_data); + } putchar('\n'); } } -- 1.7.1.94.gc3269 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html