diff --git a/src/GitList/Git/Repository.php b/src/GitList/Git/Repository.php index 8334bc3..732c684 100644 --- a/src/GitList/Git/Repository.php +++ b/src/GitList/Git/Repository.php @@ -243,7 +243,7 @@ class Repository extends BaseRepository $query = escapeshellarg($query); $query = strtr($query, array('[' => '\\[', ']' => '\\]')); $command = - "log --grep={$query} --pretty=format:\"%H" + "log --grep={$query} -i --pretty=format:\"%H" . "%h%T%P" . "%an%ae" . "%at%cn" @@ -271,7 +271,7 @@ class Repository extends BaseRepository $query = escapeshellarg($query); try { - $results = $this->getClient()->run($this, "grep -I --line-number {$query} $branch"); + $results = $this->getClient()->run($this, "grep -i --line-number {$query} $branch"); } catch (\RuntimeException $e) { return false; }