summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorAllan Caffee <allan.caffee@gmail.com>2009-04-13 15:53:41 -0400
committerJunio C Hamano <gitster@pobox.com>2009-04-13 22:41:25 -0700
commit427fc5b8885d269359c8eff187925e3d49f103b4 (patch)
tree96ccd02829d005999fc720e8eb64705ad605f992 /color.h
parentf800b65bea1504299747e7be03ee279508a74e1f (diff)
downloadgit-427fc5b8885d269359c8eff187925e3d49f103b4.tar.gz
graph API: Added logic for colored edges
Modified the graph drawing logic to colorize edges based on parent-child relationships similiarly to gitk. Signed-off-by: Allan Caffee <allan.caffee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
-rw-r--r--color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/color.h b/color.h
index 6846be1706..18abeb7c7d 100644
--- a/color.h
+++ b/color.h
@@ -11,6 +11,7 @@
#define GIT_COLOR_GREEN "\033[32m"
#define GIT_COLOR_YELLOW "\033[33m"
#define GIT_COLOR_BLUE "\033[34m"
+#define GIT_COLOR_MAGENTA "\033[35m"
#define GIT_COLOR_CYAN "\033[36m"
#define GIT_COLOR_BG_RED "\033[41m"