Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 14, 2008
  1. @dscho @gitster

    Provide git_config with a callback-data parameter

    dscho authored gitster committed
    git_config() only had a function parameter, but no callback data
    parameter.  This assumes that all callback functions only modify
    global variables.
    With this patch, every callback gets a void * parameter, and it is hoped
    that this will help the libification effort.
    Signed-off-by: Johannes Schindelin <>
    Signed-off-by: Junio C Hamano <>
Commits on Feb 18, 2008
  1. @matthiask @gitster

    Add color.ui variable which globally enables colorization if set

    matthiask authored gitster committed
    Signed-off-by: Matthias Kestenholz <>
    Signed-off-by: Junio C Hamano <>
Commits on Dec 6, 2007
  1. @gitster

    git config --get-colorbool

    gitster authored
    This adds an option to help scripts find out color settings from
    the configuration file.
        git config --get-colorbool color.diff
    inspects color.diff variable, and exits with status 0 (i.e. success) if
    color is to be used.  It exits with status 1 otherwise.
    If a script wants "true"/"false" answer to the standard output of the
    command, it can pass an additional boolean parameter to its command
    line, telling if its standard output is a terminal, like this:
        git config --get-colorbool color.diff true
    When called like this, the command outputs "true" to its standard output
    if color is to be used (i.e. "color.diff" says "always", "auto", or
    "true"), and "false" otherwise.
    Signed-off-by: Junio C Hamano <>
Commits on Sep 19, 2007
  1. @gitster

    Enable wt-status output to a given FILE pointer.

    Kristian Høgsberg authored gitster committed
    Still defaults to stdout, but you can now override wt_status.fp after
    calling wt_status_prepare().
    Signed-off-by: Kristian Høgsberg <>
    Signed-off-by: Junio C Hamano <>
Commits on Sep 8, 2006
  1. @peff

    Move color option parsing out of diff.c and into color.[ch]

    peff authored Junio C Hamano committed
    The intent is to lib-ify colorizing code so it can be reused.
    Signed-off-by: Jeff King <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.