X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=run-command.h;h=15e870a65eb037cd49d1e01251711915da06d260;hb=4c58a7111d9fb4f62ca041fc73e8aec0a2f9c800;hp=e90d9282ff5a0a6dde2d1a9813063a7b2c7bcf91;hpb=1d64f21d9949ac1dd59fa722160e46181d92854d;p=git.git diff --git a/run-command.h b/run-command.h index e90d9282f..15e870a65 100644 --- a/run-command.h +++ b/run-command.h @@ -50,6 +50,8 @@ int start_command(struct child_process *); int finish_command(struct child_process *); int run_command(struct child_process *); +extern int run_hook(const char *index_file, const char *name, ...); + #define RUN_COMMAND_NO_STDIN 1 #define RUN_GIT_CMD 2 /*If this is to be git sub-command */ #define RUN_COMMAND_STDOUT_TO_STDERR 4