Make cgrep check .hpp files as well.

Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed
This commit is contained in:
Dan Albert 2014-11-22 10:16:01 -08:00
parent 9cef682306
commit 019611958f
1 changed files with 1 additions and 1 deletions

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()