forked from openkylin/platform_build
am 0616000d: Merge "Make cgrep check .hpp files as well."
* commit '0616000d09905ac423dae0ffccdb0ef3fe24f36d': Make cgrep check .hpp files as well.
This commit is contained in:
commit
fc0d1e6f58
|
@ -1366,7 +1366,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()
|
||||
|
|
Loading…
Reference in New Issue