Skip to content

Commit

Permalink
Improve the usability of Churn
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa committed Nov 11, 2020
1 parent 266cfe0 commit 5a38965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Process/ProcessFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Churn\Process;

use function array_merge;
use function dirname;
use Churn\File\File;
use function getcwd;
use function is_callable;
use Phar;
use function strlen;
Expand Down Expand Up @@ -36,7 +36,7 @@ public function __construct(string $commitsSince)
public function createGitCommitProcess(File $file): ChurnProcess
{
$process = new Process([
'git', '-C', getcwd(), 'rev-list', '--since',
'git', '-C', dirname($file->getFullPath()), 'rev-list', '--since',
$this->commitsSince, '--no-merges', '--count', 'HEAD',
$file->getFullPath(),
]);
Expand Down

0 comments on commit 5a38965

Please sign in to comment.