diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2021-12-22 04:59:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-07 15:19:34 -0800 |
commit | 432a50bebf45e7d3be2677426aa57f7ab35f83da (patch) | |
tree | e159fca3575eb3426f6d07009bd2261653d921a1 | |
parent | rebase: convert pre-rebase to use hook.h (diff) | |
download | tgif-432a50bebf45e7d3be2677426aa57f7ab35f83da.tar.xz |
am: convert applypatch-msg to use hook.h
Teach applypatch-msg to use the hook.h library instead of the
run-command.h library.
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>
-rw-r--r-- | builtin/am.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c index 4b334cb7b1..ae0c484dcb 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -448,7 +448,7 @@ static int run_applypatch_msg_hook(struct am_state *state) int ret; assert(state->msg); - ret = run_hook_le(NULL, "applypatch-msg", am_path(state, "final-commit"), NULL); + ret = run_hooks_l("applypatch-msg", am_path(state, "final-commit"), NULL); if (!ret) { FREE_AND_NULL(state->msg); |