Skip to content

Commit 432a50b

Browse files
nasamuffingitster
authored andcommitted
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 <[email protected]> Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Acked-by: Emily Shaffer <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 25d4e02 commit 432a50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/am.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ static int run_applypatch_msg_hook(struct am_state *state)
448448
int ret;
449449

450450
assert(state->msg);
451-
ret = run_hook_le(NULL, "applypatch-msg", am_path(state, "final-commit"), NULL);
451+
ret = run_hooks_l("applypatch-msg", am_path(state, "final-commit"), NULL);
452452

453453
if (!ret) {
454454
FREE_AND_NULL(state->msg);

0 commit comments

Comments
 (0)