Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2023-03-30 14:21:32 +0300
committerJunio C Hamano <gitster@pobox.com>2023-03-30 20:17:49 +0300
commit4833b084261a77e226b198a86c4f2ed737889f16 (patch)
treed033dbd027385a52144f4848c5bb8ce02e93d053 /ref-filter.c
parent73876f4861cd3d187a4682290ab75c9dccadbc56 (diff)
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>
Diffstat (limited to 'ref-filter.c')
-rw-r--r--ref-filter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c
index f8203c6b05..5744a55be6 100644
--- a/ref-filter.c
+++ b/ref-filter.c
@@ -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;
}