summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2011-04-05 00:40:23 -0500
committerJunio C Hamano <gitster@pobox.com>2011-04-04 23:20:39 -0700
commit7cd52b5b4bf3be1f5d33fed889af186aae1ea7b8 (patch)
treed66df4a57ed2cbf96816ae87205cb5c8283661fc /color.h
parent485cdb9bd8bd7de6c7099c1c3e9c6fca6a60fdd3 (diff)
downloadgit-7cd52b5b4bf3be1f5d33fed889af186aae1ea7b8.tar.gz
Share color list between graph and show-branch
This also adds the new colors to show-branch that were added a while back for graph output. Signed-off-by: Dan McGee <dpmcgee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
-rw-r--r--color.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/color.h b/color.h
index c0528cf087..68a926a2cd 100644
--- a/color.h
+++ b/color.h
@@ -53,6 +53,9 @@ struct strbuf;
*/
extern int git_use_color_default;
+/* A default list of colors to use for commit graphs and show-branch output */
+extern const char *column_colors_ansi[];
+extern const int column_colors_ansi_max;
/*
* Use this instead of git_default_config if you need the value of color.ui.