commit 2238bc9004b65e1d293a9f26c957d6d14c17452e
Author: Herman van Rink <rink@initfour.nl>
Date:   Thu Nov 23 10:32:48 2017 +0100

    Use platform hooks as a default for a site with no hooks defined

diff --git a/drush/provision_git.drush.inc b/drush/provision_git.drush.inc
index 17ed52e..0677637 100644
--- a/drush/provision_git.drush.inc
+++ b/drush/provision_git.drush.inc
@@ -562,6 +562,7 @@ function provision_git_run_git_hooks() {
     $sites[] = d()->name;
   }
   elseif (d()->type == 'platform') {
+    $platform_hooks = d()->git_hooks;
 
     // Get a list of all that use this platform.
     $aliases_files = _drush_sitealias_find_alias_files();
@@ -595,11 +596,17 @@ function provision_git_run_git_hooks() {
 
   $hook_commands = provision_git_hooks();
   foreach ($sites as $site) {
-    // @TODO: Gotta figure out a way to put this in the Git service.
     if (is_array(d($site)->git_hooks)) {
+      $site_hooks = d($site)->git_hooks;
+    }
+    elseif(!empty($platform_hooks)) {
+      $site_hooks = $platform_hooks;
+
+    }
 
+    if (is_array($site_hooks)) {
       // Allow overriding what hooks to run on the command line.
-      $hooks = drush_get_option('hooks', d($site)->git_hooks);
+      $hooks = drush_get_option('hooks', $site_hooks);
       if (is_string($hooks)) {
         $hooks = explode(',', $hooks);
       }
