Commit b7e68405 authored by SBassett's avatar SBassett
Browse files

GitMonitor.sh

Add extended regexp flag to grep call

Bug: T218743
Change-Id: Ide931a124ad757f7d0fb9df389baabe539470897
parent c4e02c77
......@@ -62,7 +62,7 @@ do
printf "\nCOMMIT ID: $git_hash\n\n" &&
printf '%s' "$repo_diff_url" &&
printf -- '*%.0s' {1..10})
git_show=$(git show $git_hash | cut -c -80 | grep -C 3 "$GM_GREP_PAT" || true)
git_show=$(git show $git_hash | cut -c -80 | grep -E -C 3 "$GM_GREP_PAT" || true)
if [[ -n "$git_show" ]]; then
report_body="$report_body $commit_marker\n$git_show\n"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment