From e6f101047ddc1110ed99b77fc2fdd3f596398516 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Sat, 4 Oct 2014 12:53:20 +1000 Subject: [PATCH] Case insensitivity switch for tree search should be lowercase --- src/GitList/Git/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitList/Git/Repository.php b/src/GitList/Git/Repository.php index 418aeeb..917750c 100644 --- a/src/GitList/Git/Repository.php +++ b/src/GitList/Git/Repository.php @@ -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; }