X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.h;h=0211e1d471d37a41f77098e8fff8a031fb26cb71;hb=08e6710f76165f79cfa3cde9b10bb051fb0d0dc9;hp=a8b0c209e9b7487ce3c2b214cbebe7ad4f97fd11;hpb=f39adc250c3e554c437d027bbc06309a78fd026d;p=git.git diff --git a/run-command.h b/run-command.h index a8b0c209e..0211e1d47 100644 --- a/run-command.h +++ b/run-command.h @@ -49,6 +49,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