diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2009-04-22 23:41:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-22 18:36:25 -0700 |
commit | ab07ba2a2436cc717b872387320297bb806d35d9 (patch) | |
tree | a5c79daef90f72826ad796d1a5f83a23872d6ac7 /Documentation/config.txt | |
parent | 0be9bc0f0a45ba667e7aaca14257da772b38e783 (diff) | |
download | git-ab07ba2a2436cc717b872387320297bb806d35d9.tar.gz |
show-branch: color the commit status signs
Make it possible to color the status character ('*' '!' '+' '-') of each
commit corresponding to the branch it's in. This makes it easier to
follow a particular branch, especially if there are larger gaps in the
output.
Add the config option color.showbranch and the command line options
--color and --no-color to control the colored output.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 35056e1a9c..1383a29b00 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -595,6 +595,12 @@ color.pager:: A boolean to enable/disable colored output when the pager is in use (default is true). +color.showbranch:: + A boolean to enable/disable color in the output of + linkgit:git-show-branch[1]. May be set to `always`, + `false` (or `never`) or `auto` (or `true`), in which case colors are used + only when the output is to a terminal. Defaults to false. + color.status:: A boolean to enable/disable color in the output of linkgit:git-status[1]. May be set to `always`, |