ref-filter: remove unused ref_format member

use_rest was added in b9dee075eb (ref-filter: add %(rest) atom,
2021-07-26) but was never used. As far as I can tell it was used in a
later patch that was submitted to the mailing list but never applied.

Signed-off-by: Øystein Walle <oystwa@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Øystein Walle 2023-03-30 13:21:32 +02:00 коммит произвёл Junio C Hamano
Родитель 73876f4861
Коммит 4833b08426
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -582,7 +582,6 @@ static int rest_atom_parser(struct ref_format *format, struct used_atom *atom,
{
if (arg)
return err_no_arg(err, "rest");
format->use_rest = 1;
return 0;
}

Просмотреть файл

@ -75,7 +75,6 @@ struct ref_format {
const char *format;
const char *rest;
int quote_style;
int use_rest;
int use_color;
/* Internal state to ref-filter */