Question On Hooks

From: Matt Schmidt <hidden>
Date: 2016-06-15 23:02:46

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help