# Question On Hooks

1 messages from 2014-10-24 to 2014-10-24. Participants: Matt Schmidt.
Thread: https://gitlist.dev/t/37800

## Matt Schmidt, 2014-10-24 14:24

Subject: Question On Hooks
Message-ID: <544A6133.9040600@wsucougars.com>
URL: https://gitlist.dev/e/544A6133.9040600%40wsucougars.com

```
Hi,

I was curious if there was any work done on a possible Git client-side 
hook for "post-fetch"?

Not sure if this is a valid question or even the idea is valid for Git 
but my thoughts are to fire a script after a successful fetch (delta 
change) has been received for a local repository - any branch. Maybe 
have it recognized specific branches to watch? The idea would be for a 
simple database migration script.

I know there is a "post-merge" but it doesn't always fire after a "git 
pull" due to fast forwarding, I believe after testing?

I am not a C programmer but have done a little "noodling" at times, 
trying to learn. I figure this might be a good kick-starter idea?

Thanks for any help or information you might be able to provide on this 
question.


Matt Schmidt
PHP Programmer for Acronym Media
Spokane Valley, WA

```
