login
Header Space

 
 

Re: multiple files for the same hook

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Hunger <hto@...>
Cc: <git@...>
Date: Tuesday, May 13, 2008 - 12:21 am

On Mon, May 12, 2008 at 09:56:30PM +0000, Thomas Hunger wrote:


The problem is that the semantics of calling some of the hooks is not as
simple as just calling them all in a row. How do you split up the input
going to the hooks? How do you combine the output coming from the hooks?
What is the resulting exit code? If one hook fails, do we indicate
failure? Or if one hook succeeds, do we indicate success?

So before any such code could go into git proper, there would have to be
agreement on how those issues are resolved. In the meantime, it probably
makes more sense to implement a "master" post-commit hook that uses the
semantics that you find useful.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
multiple files for the same hook, Thomas Hunger, (Mon May 12, 4:39 pm)
Re: multiple files for the same hook, Miklos Vajna, (Mon May 12, 4:44 pm)
Re: multiple files for the same hook, Thomas Hunger, (Mon May 12, 5:56 pm)
Re: multiple files for the same hook, Jeff King, (Tue May 13, 12:21 am)
Re: multiple files for the same hook, Martin Langhoff, (Tue May 13, 4:05 am)
Re: multiple files for the same hook, Sverre Rabbelier, (Mon May 12, 4:43 pm)
speck-geostationary