mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-01-24 00:09:33 +01:00
Made commit search case insensitive
This commit is contained in:
@@ -243,7 +243,7 @@ class Repository extends BaseRepository
|
||||
$query = escapeshellarg($query);
|
||||
$query = strtr($query, array('[' => '\\[', ']' => '\\]'));
|
||||
$command =
|
||||
"log --grep={$query} --pretty=format:\"<item><hash>%H</hash>"
|
||||
"log --grep={$query} -i --pretty=format:\"<item><hash>%H</hash>"
|
||||
. "<short_hash>%h</short_hash><tree>%T</tree><parents>%P</parents>"
|
||||
. "<author>%an</author><author_email>%ae</author_email>"
|
||||
. "<date>%at</date><commiter>%cn</commiter>"
|
||||
|
||||
Reference in New Issue
Block a user