Skip to content

Commit 67ad630

Browse files
nasamuffingitster
authored andcommitted
merge: convert post-merge to use hook.h
Teach post-merge to use the hook.h library instead of the run-command.h library to run hooks. 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 432a50b commit 67ad630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/merge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static void finish(struct commit *head_commit,
487487
}
488488

489489
/* Run a post-merge hook */
490-
run_hook_le(NULL, "post-merge", squash ? "1" : "0", NULL);
490+
run_hooks_l("post-merge", squash ? "1" : "0", NULL);
491491

492492
apply_autostash(git_path_merge_autostash(the_repository));
493493
strbuf_release(&reflog_message);

0 commit comments

Comments
 (0)