]> git.ipfire.org Git - thirdparty/git.git/commit - graph.c
graph API: Use horizontal lines for more compact graphs
authorAllan Caffee <allan.caffee@gmail.com>
Tue, 21 Apr 2009 12:47:01 +0000 (08:47 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Apr 2009 01:32:16 +0000 (18:32 -0700)
commiteaf158f8bd7615562e1fa84711ea465f387a3c9d
treec7ea34fd55e771bf15f8675e5ece65c303f745c0
parent66996ecc28f001d3dcc73090717bb8c6e47c0d75
graph API: Use horizontal lines for more compact graphs

Use horizontal lines instead of long diagonal lines during the
collapsing state of graph rendering.  For example what used to be:

    | | | | |
    | | | |/
    | | |/|
    | |/| |
    |/| | |
    | | | |

is now

    | | | | |
    | |_|_|/
    |/| | |
    | | | |

This results in more compact and legible graphs.

Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c
t/t4202-log.sh