Emulate smartcase support for git-grep