mirror of
https://github.com/git/git.git
synced 2024-11-27 12:03:55 +08: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:
parent
73876f4861
commit
4833b08426
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user