git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* post-update hook
@ 2009-06-07 13:39 Soham Mehta
  2009-06-07 13:40 ` post-rebase hook (correction from Re: post-update hook) Soham Mehta
  0 siblings, 1 reply; 4+ messages in thread
From: Soham Mehta @ 2009-06-07 13:39 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* post-rebase hook (correction from Re: post-update hook)
  2009-06-07 13:39 post-update hook Soham Mehta
@ 2009-06-07 13:40 ` Soham Mehta
  2009-06-07 20:41   ` Nanako Shiraishi
  0 siblings, 1 reply; 4+ messages in thread
From: Soham Mehta @ 2009-06-07 13:40 UTC (permalink / raw)
  To: git

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
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: post-rebase hook (correction from Re: post-update hook)
  2009-06-07 13:40 ` post-rebase hook (correction from Re: post-update hook) Soham Mehta
@ 2009-06-07 20:41   ` Nanako Shiraishi
  2009-06-07 22:37     ` Robin H. Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Nanako Shiraishi @ 2009-06-07 20:41 UTC (permalink / raw)
  To: Soham Mehta; +Cc: git

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: post-rebase hook (correction from Re: post-update hook)
  2009-06-07 20:41   ` Nanako Shiraishi
@ 2009-06-07 22:37     ` Robin H. Johnson
  0 siblings, 0 replies; 4+ messages in thread
From: Robin H. Johnson @ 2009-06-07 22:37 UTC (permalink / raw)
  To: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 330 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-07 22:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-07 13:39 post-update hook Soham Mehta
2009-06-07 13:40 ` post-rebase hook (correction from Re: post-update hook) Soham Mehta
2009-06-07 20:41   ` Nanako Shiraishi
2009-06-07 22:37     ` Robin H. Johnson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).