graph API: eliminate unnecessary indentation
commit0724cb86c51a230090ef12d6bfe17a67351631a8
authorAdam Simpkins <adam@adamsimpkins.net>
Mon, 5 May 2008 07:57:03 +0000 (5 00:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 May 2008 01:55:39 +0000 (5 18:55 -0700)
tree278671b3768cdf1e4d2acedd69d488618ec67177
parent7fefda5cc7a5faf7962092367bedb321a634d54d
graph API: eliminate unnecessary indentation

This change improves the calculation of the amount of horizontal
padding, so that there is always exactly 1 space of padding.
Previously, most commits had 3 spaces of padding, but commits that
didn't have any children in the graph had only 1 space of padding.

Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c