summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-15 12:41:01 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-15 12:41:01 -0700
commitf678d9b5923b030287687dde020240c2d4709d79 (patch)
treea6babe23bb662184627559dc8658daece06fa174 /diff.c
parent825ccfc23c7834152323586d8470666315dd4347 (diff)
parent0f33a0677d6d93b3f6d8fb7d1df62f30eb7b73a9 (diff)
downloadgit-f678d9b5923b030287687dde020240c2d4709d79.tar.gz
Merge branch 'jk/diff-graph-submodule-summary'
Make "git diff --graph" work better with submodule log output. * jk/diff-graph-submodule-summary: submodule: print graph output next to submodule log
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 649ec86b87..f0b3e7cfe3 100644
--- a/diff.c
+++ b/diff.c
@@ -2255,6 +2255,7 @@ static void builtin_diff(const char *name_a,
const char *del = diff_get_color_opt(o, DIFF_FILE_OLD);
const char *add = diff_get_color_opt(o, DIFF_FILE_NEW);
show_submodule_summary(o->file, one ? one->path : two->path,
+ line_prefix,
one->sha1, two->sha1, two->dirty_submodule,
meta, del, add, reset);
return;