summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorAndy Koppe <andy.koppe@gmail.com>2023-08-20 19:50:05 +0100
committerJunio C Hamano <gitster@pobox.com>2023-08-21 11:40:09 -0700
commitb87a9a2c1ef8c39d4fc3d1e28ebb79563d4804be (patch)
treed3a15dcee04967dae5b93d417799130894ac4e2d /commit-graph.c
parenta3883a6532163f0a53a7b202f32bf8fe565af056 (diff)
decorate: avoid some unnecessary color overhead
In format_decorations(), don't obtain color sequences if there are no decorations, and don't emit color sequences around empty strings. Signed-off-by: Andy Koppe <andy.koppe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions