update-server-info on git pushes and forks
[phorkie.git] / src / phorkie / Repository / Post.php
index fbfea4bcb74c3bbf081f16b5e054abcafa9455fd..5a450b1aa0b446f63c82de95ae568fd09864583d 100644 (file)
@@ -151,6 +151,10 @@ class Repository_Post
                 ->setOption('force')
                 ->setOption('message', "$notes")
                 ->execute();
+            //update info for dumb git HTTP transport
+            //the post-update hook should do that IMO, but does not somehow
+            $vc->getCommand('update-server-info')->execute();
+
             $bChanged = true;
         }