From 019611958ff2d2e97debfa106620d0d3d27f3627 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 22 Nov 2014 10:16:01 -0800 Subject: [PATCH] Make cgrep check .hpp files as well. Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index 66f9136d7..0e853fe17 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -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()