Skip to content

Commit b3cf49b

Browse files
committed
Merge pull request kbjr#27 from syrusakbary/patch-1
Fixed Git.pho commit error in flags
2 parents c23a3bd + 357ee27 commit b3cf49b

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)