Ilya Bobyr wrote:
> On 4/22/2014 9:31 AM, Felipe Contreras wrote:
> > Stephen Leake wrote:
> >> Felipe Contreras <felipe.contre...@gmail.com> writes:
> >>> Yes, there a reason for the existance of those hooks. Now tell me why
> >>> would
> >>> anybody use post-update-branch instead of pre-update-branch?
> >> I have a branch which should always be recompiled on update;
> >> post-update-branch would be a good place for that.
> > And why would pre-update-branch not serve that purpose?
> "pre-" hook could be used, but if the hooks is not supposed to prevent
> the operation, it seems reasonable to put it in the "post-" hook should
> one be available.
If 'pre-update-branch' can be used, then you are pretty much agreeing to the
that the 'post-udpate-branch' hook would be *useless*.
Such a script would work both as 'pre-update-branch' and 'post-update-branch',
therefore a single 'update-branch' would serve.
So I ask again:
Tell me why would anybody need 'post-update-branch' instead of
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html