summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2019-10-15 10:25:31 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-16 10:30:51 +0900
commit49697cb72122cf84b44111124821c9a4bcba3ab6 (patch)
treeff996f05507c53a17a63510919a986d22ba528e0 /builtin/branch.c
parentsequencer.h fix placement of #endif (diff)
downloadtgif-49697cb72122cf84b44111124821c9a4bcba3ab6.tar.xz
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 'builtin/branch.c')
0 files changed, 0 insertions, 0 deletions