Skip to contentSkip to conversation

post-update hook

DISCUSSION Soham Mehta 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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:

Quoted 6 lines

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

#2 lore raw

Re: post-rebase hook (correction from Re: post-update hook)

Quoting Soham Mehta <[email protected]>:

Quoted 6 lines

thus spake Soham Mehta , On 6/7/2009 6:39 AM:

Quoted 4 lines

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.

Signature · 2 lines
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
#3 lore raw

Re: post-rebase hook (correction from Re: post-update hook)

Quoted 3 lines · Nanako Shiraishi

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?

Signature · 4 lines
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : [email protected]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85