pretty: factor out expand_separator()
commit3c3d0c4242d834c49d77da321425819c175df61c
authorRené Scharfe <l.s.r@web.de>
Sat, 17 Jun 2023 20:40:57 +0000 (17 22:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Jun 2023 19:55:29 +0000 (18 12:55 -0700)
treeb2f38ee8c7d53f81c7866ff0e87c6e9e07cf919c
parentd7d8841f67f29e6ecbad85a11805c907d0f00d5d
pretty: factor out expand_separator()

Deduplicate the code for setting the options "separator" and
"key_value_separator" by moving it into a new helper function,
expand_separator().

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c