Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 20, 2010
  1. @gitster

    Merge branch 'ml/color-grep'

    gitster authored
    * ml/color-grep:
      grep: Colorize selected, context, and function lines
      grep: Colorize filename, line number, and separator
      Add GIT_COLOR_BOLD_* and GIT_COLOR_BG_*
  2. @gitster

    Merge branch 'jc/color-attrs'

    gitster authored
    * jc/color-attrs:
      color: allow multiple attributes
Commits on Mar 7, 2010
  1. @gitster

    color: allow multiple attributes

    gitster authored
    In configuration files (and "git config --color" command line), we
    supported one and only one attribute after foreground and background
    color.  Accept combinations of attributes, e.g.
    
        [diff.color]
                old = red reverse bold
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jan 26, 2009
  1. @gitster

    Merge branch 'js/diff-color-words'

    gitster authored
    * js/diff-color-words:
      Change the spelling of "wordregex".
      color-words: Support diff.wordregex config option
      color-words: make regex configurable via attributes
      color-words: expand docs with precise semantics
      color-words: enable REG_NEWLINE to help user
      color-words: take an optional regular expression describing words
      color-words: change algorithm to allow for 0-character word boundaries
      color-words: refactor word splitting and use ALLOC_GROW()
      Add color_fwrite_lines(), a function coloring each line individually
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 <gitster@pobox.com>
Something went wrong with that request. Please try again.