{"thread":{"id":"37800","subject":"Question On Hooks","startedAt":"2014-10-24T14:24:51Z","lastAt":"2014-10-24T14:24:51Z","messageCount":1,"participants":["Matt Schmidt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251019","messageId":"544A6133.9040600@wsucougars.com","threadId":"37800","inReplyTo":null,"subject":"Question On Hooks","fromName":"Matt Schmidt","fromEmail":"schmidty@wsucougars.com","sentAt":"2014-10-24T14:24:51Z","receivedAt":"2014-10-24T14:24:51Z","isPatch":false,"sender":{"key":"schmidty@wsucougars.com","avatar":null},"body":"Hi,\n\nI was curious if there was any work done on a possible Git client-side \nhook for \"post-fetch\"?\n\nNot sure if this is a valid question or even the idea is valid for Git \nbut my thoughts are to fire a script after a successful fetch (delta \nchange) has been received for a local repository - any branch. Maybe \nhave it recognized specific branches to watch? The idea would be for a \nsimple database migration script.\n\nI know there is a \"post-merge\" but it doesn't always fire after a \"git \npull\" due to fast forwarding, I believe after testing?\n\nI am not a C programmer but have done a little \"noodling\" at times, \ntrying to learn. I figure this might be a good kick-starter idea?\n\nThanks for any help or information you might be able to provide on this \nquestion.\n\n\nMatt Schmidt\nPHP Programmer for Acronym Media\nSpokane Valley, WA\n"}]}