Make the search case insensitive

This commit is contained in:
philc
2011-02-10 11:15:09 -08:00
parent a0ba81c763
commit e4d63ec8a2
+1 -1
View File
@@ -407,7 +407,7 @@ module Gollum
#
# Returns an Array with Objects of page name and count of matches
def search(query)
args = [{:c => query}, 'master', '--']
args = [{}, '-i', '-c', query, 'master', '--']
args << '--' << @page_file_dir if @page_file_dir
@repo.git.grep(*args).split("\n").map! do |line|