Make g/gi use git grep when possible.