diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2024-04-18 15:14:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-18 22:33:41 +0200 |
commit | 497a01a2d3d2bef45dd76d76c769a0a2a3c80b57 (patch) | |
tree | 9d4767748d95b7b3d9fab045b2d3f0ac5dfa456e /sequencer.h | |
parent | sequencer: start removing private fields from public API (diff) | |
download | git-497a01a2d3d2bef45dd76d76c769a0a2a3c80b57.tar.xz git-497a01a2d3d2bef45dd76d76c769a0a2a3c80b57.zip |
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.h | 5 |
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(), \ } |