diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2019-10-15 13:25:31 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-16 04:30:51 +0300 |
commit | 49697cb72122cf84b44111124821c9a4bcba3ab6 (patch) | |
tree | ff996f05507c53a17a63510919a986d22ba528e0 /line-range.c | |
parent | 12bb7a540a39746fd6f62e4d5ffd016a2178bcf7 (diff) |
move run_commit_hook() to libgit and use it there
This function was declared in commit.h but was implemented in
builtin/commit.c so was not part of libgit. Move it to libgit so we can
use it in the sequencer. This simplifies the implementation of
run_prepare_commit_msg_hook() and will be used in the next commit.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions