]> git.ipfire.org Git - thirdparty/git.git/commit
rebase: convert pre-rebase to use hook.h
authorEmily Shaffer <emilyshaffer@google.com>
Wed, 22 Dec 2021 03:59:32 +0000 (04:59 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jan 2022 23:19:34 +0000 (15:19 -0800)
commit25d4e02cfc249601081c560590ce2a74aca6de3d
treeceba28b85e4d7f4c13b5eca70b8815db2ddcb7cc
parentab81cf242c67182911352aeacdd6aabb68a8555c
rebase: convert pre-rebase to use hook.h

Move the pre-rebase hook away from run-command.h to and over to the
new hook.h library.

Since this hook needs arguments introduce a run_hooksl() wrapper, like
run_hooks(), but it takes varargs.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c