summaryrefslogtreecommitdiff
path: root/notes-merge.h
diff options
context:
space:
mode:
authorLibravatar Hemmo Nieminen <hemmo.nieminen@iki.fi>2013-10-16 11:28:50 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-18 12:48:48 -0700
commit339c17bc7690b5436ac61c996cede3d52c85b50d (patch)
tree3f556a21e2693a3ec95a4104ec2adce6436a7065 /notes-merge.h
parentDocumentation/git-merge.txt: fix formatting of example block (diff)
downloadtgif-339c17bc7690b5436ac61c996cede3d52c85b50d.tar.xz
graph: fix coloring around octopus merges
When drawing the graph of an octopus merge, we draw a horizontal line from parents 3 and above into the asterisk representing the commit. The sections of this line should be colored to match the graph lines coming in from above. However, if the commit is not in the left-most column we do not take into account the columns to the left of the commit when calculating these colors. Fix this by adding the appropriate offset to the column index used for calculating the color. Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-merge.h')
0 files changed, 0 insertions, 0 deletions