Stephan Beyer <s-beyer@xxxxxxx> writes: > +`run_hook`:: > + > + Run a hook. > + The first argument is a string to an index file or NULL > + if the default index file or no index is used at all. Errr... The first argument is a filename path to an index file, or NULL if hook uses default index file or no index is used at all. > + The second argument is the name of the hook. O.K. > + The further variable number (up to 9) of arguments correspond > + to the hook arguments. > + The last argument has to be NULL to terminate the variable > + arguments list. Why the limitation of maximum of 9 hook arguments? > + If the hook is not executable, the return value is zero. Or the hook does not exist, I assume. > + If it is executable, the hook will be executed and the exit > + status of the hook is returned. > + On execution, .stdout_to_stderr and .no_stdin will be set. > + (See below.) > + > > Data structures > --------------- > -- > 1.6.1.160.gecdb > -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html