summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-02-07 20:15:23 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-07 12:54:26 -0800
commita48ec2415882ae15b8593185d6f9ab2f69555a9d (patch)
treeadaf41c2629490ecc1cc4d689cce755c3dbfff40 /diffcore.h
parentStart preparing for 1.8.1.3 (diff)
downloadtgif-a48ec2415882ae15b8593185d6f9ab2f69555a9d.tar.xz
graph: output padding for merge subsequent parents
When showing merges in git-log, the same commit is shown once for each parent. Combined with "--graph" this results in graph_show_commit() being called once for each parent without graph_update() being called. Currently graph_show_commit() does not print anything on subsequent invocations for the same commit (this was changed by commit 656197a - "graph.c: infinite loop in git whatchanged --graph -m" from the previous behaviour of looping infinitely). Change this so that if the graph code believes it has already shown the commit it prints a single padding line. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions