Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 13, 2010
  1. @jherland @gitster

    Enable custom schemes for column colors in the graph API

    jherland authored gitster committed
    Currently, the graph code is hardcoded to use ANSI color escapes for
    coloring the column characters in the generated graphs. This patch
    allows a custom scheme of colors to be set at runtime, allowing
    different types of color escapes to be used.
    
    A new function - graph_set_column_colors() - is added to the graph.h API,
    which allows a custom column_colors array (and column_colors_max value)
    to replace the builtin ANSI array (and _max value). The new function -
    if used - must be called before graph_init() is called.
    
    Signed-off-by: Johan Herland <johan@herland.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @jherland @gitster

    Make graph_next_line() available in the graph.h API

    jherland authored gitster committed
    In order to successfully use the graph API from a context other than the
    stdout/command-line scenario (where the graph_show_* functions are
    suitable), we need direct access to graph_next_line(), to drive the
    graph drawing process.
    
    Signed-off-by: Johan Herland <johan@herland.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.