]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer: restrict scope of a formerly public function
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 7 Sep 2021 21:05:12 +0000 (21:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Sep 2021 04:45:33 +0000 (21:45 -0700)
commit17919c3585ba9df9c65ea4a5f7300543dfba5f9f
tree8f66e90b99872a42258754130988901ce6a626f5
parent06aa5e4ea4f2c5bbf5ae80f31b0dbd5df267ba74
sequencer: restrict scope of a formerly public function

The function to add the `exec` commands to the todo list only needed to
be public API because it was not only used internally by the sequencer,
but also by `git rebase --preserve-merges`.

Now that that mode has been removed, we no longer need that function to
be scoped publicly.

Helped-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
sequencer.h