Fix #6661 - modify hooks to update timeshetet
[web.mtrack] / MTrackWeb / Hook / git.php
index e17b5d6..ce00629 100755 (executable)
@@ -89,7 +89,6 @@ class MTrackWeb_Hook_git extends MTrackWeb
                     'authUser' => $this->authUser,
             ));
              
-             
             switch ($action) {
                 
                 case 'pre':
@@ -111,6 +110,8 @@ class MTrackWeb_Hook_git extends MTrackWeb
                             echo "Skip - commit already exists\n";
                         }
                     }
+                    
+                    // in our system this happens when we merge normally.
                     foreach($checker->deferred as $ticket=> $info) {
                         foreach($info['changes'] as $ev) {
                             $cg = DB_DataObject::factory('mtrack_change');