Merge branch 'jk/log-graph-name-only'
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index d91a344908abe7335eaffef4157fc59fefdf3815..a79f3408da44a085f97d5cc1b29c200a2e1defbf 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -4450,6 +4450,7 @@ static void flush_one_pair(struct diff_filepair *p, struct diff_options *opt)
                name_a = p->two->path;
                name_b = NULL;
                strip_prefix(opt->prefix_length, &name_a, &name_b);
+               fprintf(opt->file, "%s", diff_line_prefix(opt));
                write_name_quoted(name_a, opt->file, opt->line_termination);
        }
 }