# post-update hook

4 messages from 2009-06-07 to 2009-06-07. Participants: Soham Mehta, Nanako Shiraishi, Robin H. Johnson.
Thread: https://gitlist.dev/t/19724

## Soham Mehta, 2009-06-07 13:39

Subject: post-update hook
Message-ID: <4A2BC306.3000001@box.net>
URL: https://gitlist.dev/e/4A2BC306.3000001%40box.net

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

```

## Soham Mehta, 2009-06-07 13:40

Subject: post-rebase hook (correction from Re: post-update hook)
Message-ID: <4A2BC367.7020309@box.net>
URL: https://gitlist.dev/e/4A2BC367.7020309%40box.net
In-Reply-To: <4A2BC306.3000001@box.net>

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

```

## Nanako Shiraishi, 2009-06-07 20:41

Subject: Re: post-rebase hook (correction from Re: post-update hook)
Message-ID: <20090608054148.6117@nanako3.lavabit.com>
URL: https://gitlist.dev/e/20090608054148.6117%40nanako3.lavabit.com
In-Reply-To: <4A2BC367.7020309@box.net>

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

```

## Robin H. Johnson, 2009-06-07 22:37

Subject: Re: post-rebase hook (correction from Re: post-update hook)
Message-ID: <robbat2-20090607T223615-931190896Z@orbis-terrarum.net>
URL: https://gitlist.dev/e/robbat2-20090607T223615-931190896Z%40orbis-terrarum.net
In-Reply-To: <20090608054148.6117@nanako3.lavabit.com>

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

```
