Wondering why there isn't a post-update (post-reset, post-cherrypick etc) hook in git? Is it only a matter of creating one, or is there a reason?
Thanks. -Soham
Wondering why there isn't a post-update (post-reset, post-cherrypick etc) hook in git? Is it only a matter of creating one, or is there a reason?
Thanks. -Soham
post-rebase hook (correction from Re: post-update hook)
Oops, I meant post-rebase hook
thus spake Soham Mehta , On 6/7/2009 6:39 AM:
> Wondering why there isn't a post-update (post-reset, post-cherrypick > etc) hook in git? Is it only a matter of creating one, or is there a > reason? > > Thanks. > -Soham > >
Re: post-rebase hook (correction from Re: post-update hook)
Quoting Soham Mehta <soham@box.net>:
> thus spake Soham Mehta , On 6/7/2009 6:39 AM: >> Wondering why there isn't a post-update (post-reset, post-cherrypick >> etc) hook in git? Is it only a matter of creating one, or is there a >> reason? >> > Oops, I meant post-rebase hook
There are five valid reasons you might want a hook to a git operation.
http://thread.gmane.org/gmane.comp.version-control.git/70781/focus=71069
I don't think yours is backed by any of them.
-- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/
Re: post-rebase hook (correction from Re: post-update hook)
On Mon, Jun 08, 2009 at 05:41:48AM +0900, Nanako Shiraishi wrote:
> There are five valid reasons you might want a hook to a git operation. > http://thread.gmane.org/gmane.comp.version-control.git/70781/focus=71069 > I don't think yours is backed by any of them.
That's a nice writeup. Could we consider adding this to the githooks documentation?
-- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85