Skip to content

Commit

Permalink
Git: typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pecha <[email protected]>
  • Loading branch information
janpecha committed Apr 19, 2013
1 parent 0cbdd5c commit 95f3f69
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Git.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Git implements IGit
*/
public function tag($name)
{
$this->run("git tag", $name);
$this->run('git tag', $name);
return $this;
}

Expand All @@ -33,7 +33,7 @@ public function tag($name)
*/
public function merge($branch, $options = NULL)
{
$this->run("git merge", $options, $branch);
$this->run('git merge', $options, $branch);
return $this;
}

Expand All @@ -49,7 +49,7 @@ public function merge($branch, $options = NULL)
public function branchCreate($name, $checkout = FALSE)
{
// git branch $name
$this->run("git branch", $name);
$this->run('git branch', $name);

if($checkout)
{
Expand All @@ -69,7 +69,7 @@ public function branchCreate($name, $checkout = FALSE)
*/
public function branchRemove($name)
{
$this->run("git branch", array(
$this->run('git branch', array(
'-d' => $name,
));
return $this;
Expand Down Expand Up @@ -113,7 +113,7 @@ public function branchName()
*/
public function checkout($name)
{
$this->run("git checkout", $name);
$this->run('git checkout', $name);
return $this;
}

Expand All @@ -134,7 +134,7 @@ public function remove($file)

foreach($file as $item)
{
$this->run("git rm", $item, '-r');
$this->run('git rm', $item, '-r');
}

return $this;
Expand All @@ -157,7 +157,7 @@ public function add($file)

foreach($file as $item)
{
$this->run("git add", $item);
$this->run('git add', $item);
}

return $this;
Expand Down

0 comments on commit 95f3f69

Please sign in to comment.