]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/show-branch.c
show-branch: color the commit status signs
authorMarkus Heidelberg <markus.heidelberg@web.de>
Wed, 22 Apr 2009 21:41:25 +0000 (23:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Apr 2009 01:36:25 +0000 (18:36 -0700)
commitab07ba2a2436cc717b872387320297bb806d35d9
treea5c79daef90f72826ad796d1a5f83a23872d6ac7
parent0be9bc0f0a45ba667e7aaca14257da772b38e783
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>
Documentation/config.txt
Documentation/git-show-branch.txt
builtin-show-branch.c