aboutsummaryrefslogtreecommitdiffstats
path: root/sequencer.h
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2024-04-18 14:14:07 +0100
committerJunio C Hamano <gitster@pobox.com>2024-04-18 13:33:41 -0700
commit497a01a2d3d2bef45dd76d76c769a0a2a3c80b57 (patch)
tree9d4767748d95b7b3d9fab045b2d3f0ac5dfa456e /sequencer.h
parenta3152edc97ff37f61387c6b222c68bc4f8b19bee (diff)
downloadgit-497a01a2d3d2bef45dd76d76c769a0a2a3c80b57.tar.gz
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 <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h5
1 files changed, 0 insertions, 5 deletions
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(), \
}