From 497a01a2d3d2bef45dd76d76c769a0a2a3c80b57 Mon Sep 17 00:00:00 2001 From: Phillip Wood Date: Thu, 18 Apr 2024 14:14:07 +0100 Subject: sequencer: move current fixups to private context The list of current fixups is an implementation detail of the sequencer and so it should not be stored in the public options struct. Signed-off-by: Phillip Wood Signed-off-by: Junio C Hamano --- sequencer.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sequencer.h') diff --git a/sequencer.h b/sequencer.h index 069f06400d..c15b9a6402 100644 --- a/sequencer.h +++ b/sequencer.h @@ -69,10 +69,6 @@ struct replay_opts { /* Reflog */ char *reflog_action; - /* Used by fixup/squash */ - struct strbuf current_fixups; - int current_fixup_count; - /* placeholder commit for -i --root */ struct object_id squash_onto; int have_squash_onto; @@ -86,7 +82,6 @@ struct replay_opts { #define REPLAY_OPTS_INIT { \ .edit = -1, \ .action = -1, \ - .current_fixups = STRBUF_INIT, \ .xopts = STRVEC_INIT, \ .ctx = replay_ctx_new(), \ } -- cgit v1.3