findmissing: Do not use regex when searching for commits

By default, "git log --grep <string>" interprets "<string>" as regular
expression. This causes an error if the string includes an invalid regular
expression pattern. Use git option '-F' to tell git not to look for a
regular expression but just for a string.

BUG=None
TEST=git log --no-merges -F --grep '[]'

Change-Id: Ib3131215756ce2cdfb2beeb84cb27c38c91181b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2220177
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Commit-Queue: Guenter Roeck <groeck@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
1 file changed