remote forking: use the original http/https url in description
[phorkie.git] / src / phorkie / Repository / Post.php
index b181b5a2b198ef6e52ebe83856c338ec86598b90..f94d9ab755d4ddc492451b19f54cdef8fb7a3d4a 100644 (file)
@@ -117,8 +117,6 @@ class Repository_Post
             }
         }
 
-        $commitmsg = "phorkie commit";
-
         if (isset($sessionData['identity'])) {
             $notes = $sessionData['identity'];
         } else {
@@ -127,7 +125,8 @@ class Repository_Post
 
         if ($bCommit) {
             $vc->getCommand('commit')
-                ->setOption('message', $commitmsg)
+                ->setOption('message', '')
+                ->setOption('allow-empty-message')
                 ->setOption('author', $sessionData['name'].' <'.$sessionData['email'].'>')
                 ->execute();
             //FIXME: git needs ref BEFORE add