Skip to content

Commit 357ee27

Browse files
committed
Fixed Git.pho commit error in flags
1 parent c23a3bd commit 357ee27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Git.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public function rm($files = "*", $cached = false) {
377377
*/
378378
public function commit($message = "", $commit_all = true) {
379379
$flags = $commit_all ? '-av' : '-v';
380-
return $this->run("commit '.$flags.' -m ".escapeshellarg($message));
380+
return $this->run("commit ".$flags." -m ".escapeshellarg($message));
381381
}
382382

383383
/**

0 commit comments

Comments
 (0)