Reduce the context line number to 1, make "git grep" search respect the include/exclude patter, and fix #30785