1
0
mirror of https://github.com/git/git synced 2024-07-02 15:48:44 +00:00

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 committed by Junio C Hamano
parent 73876f4861
commit 4833b08426
2 changed files with 0 additions and 2 deletions

View File

@ -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;
}

View File

@ -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 */