pretty: share code between format_decoration and show_decorations
commit9d3f002f21f78576f3c31ae94ce78de54e305c95
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 18 Apr 2013 23:08:43 +0000 (19 09:08 +1000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2013 23:28:27 +0000 (18 16:28 -0700)
tree8523cf6f3c1caf0167b6518b1c48072c6157e39c
parentd2ea4afb03d0f44284b73bbca7fd4d98168b0230
pretty: share code between format_decoration and show_decorations

This also adds color support to format_decorations()

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
log-tree.h
pretty.c
t/t4207-log-decoration-colors.sh