]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer.c: move static function to avoid forward decl
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 10 Jul 2021 08:47:28 +0000 (10:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jul 2021 19:09:53 +0000 (12:09 -0700)
commitd4ac305073411bd70ae94e79c8fe8130a7d378aa
tree94c3fa966fe2d2fc4172f0f4cb5f52cb44074fbe
parent103e02c7001f5c4989d56360c8cfc615f29fc9a7
sequencer.c: move static function to avoid forward decl

Move the reflog_message() function added in
96e832a5fd6 (sequencer (rebase -i): refactor setting the reflog
message, 2017-01-02), it gained another user in
9055e401dd6 (sequencer: introduce new commands to reset the revision,
2018-04-25). Let's move it around and remove the forward declaration
added in the latter commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c