Skip to content

Commit

Permalink
The GitBinary class no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-kuendig committed Mar 5, 2020
1 parent 312d813 commit ccb9a28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Util/Git.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace OFFLINE\Bootstrapper\October\Util;

use GitElephant\GitBinary;
use GitElephant\Repository;

/**
Expand All @@ -17,7 +16,7 @@ public static function repo($path)
if (stripos(PHP_OS, 'WIN') === 0) {
// Use the default `git` command under Windows. This requires the git binary
// to be added to the PATH environment variable.
$binary = new GitBinary('git');
$binary = 'git';
}

return Repository::open($path, $binary);
Expand Down

0 comments on commit ccb9a28

Please sign in to comment.