Re: [PATCH RFC 04/24] cat-file: reuse struct ref_format

2018-01-26 Thread Junio C Hamano
Olga Telezhnaya writes: > Start using ref_format struct instead of simple char*. > Need that for further reusing of formatting logic from ref-filter. > > Signed-off-by: Olga Telezhnaia > Mentored-by: Christian Couder > Mentored by: Jeff King > --- > builtin/cat-file.c | 15 --- >

[PATCH RFC 04/24] cat-file: reuse struct ref_format

2018-01-26 Thread Olga Telezhnaya
Start using ref_format struct instead of simple char*. Need that for further reusing of formatting logic from ref-filter. Signed-off-by: Olga Telezhnaia Mentored-by: Christian Couder Mentored by: Jeff King --- builtin/cat-file.c | 15 --- 1 file changed, 8 insertions(+), 7 deletion