diff options
| author | Andy Koppe <andy.koppe@gmail.com> | 2023-08-20 19:50:05 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-21 11:40:09 -0700 |
| commit | b87a9a2c1ef8c39d4fc3d1e28ebb79563d4804be (patch) | |
| tree | d3a15dcee04967dae5b93d417799130894ac4e2d /builtin/merge.c | |
| parent | a3883a6532163f0a53a7b202f32bf8fe565af056 (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 'builtin/merge.c')
0 files changed, 0 insertions, 0 deletions
