src/Util/GitRepo.php
public function commit($message = "", $commit_all = true) {
		$flags = $commit_all ? '-av' : '-v';
		return $this->run("commit ".$flags." -m ".escapeshellarg($message));
	}
public function commit($message = "", $commit_all = true) {
		$flags = $commit_all ? '-av' : '-v';
		return $this->run("commit ".$flags." -m ".escapeshellarg($message));
	}
public function commit ( $ message = "" , $ commit_all = true ) { $ flags = $ commit_all ? '-av' : '-v' ; return $ this -> run ( "commit " . $ flags . " -m " . escapeshellarg ( $ message ) ) ; }
Runs a `git commit` call

Accepts a commit message string

@access  public
@param   string  commit message
@param   boolean  should all files be committed automatically (-a flag)
@return  string
Runs a git commit call