Merge "Make cgrep check .hpp files as well."

This commit is contained in:
Dan Albert
2014-11-22 20:48:44 +00:00
committed by Gerrit Code Review

View File

@@ -1278,7 +1278,7 @@ function jgrep()
function cgrep()
{
find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@"
find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print0 | xargs -0 grep --color -n "$@"
}
function resgrep()