On Tue, Oct 25, 2022 at 12:15 PM Ali Alnubani <[email protected]> wrote: > > The script devtools/parse-flow-support.sh uses the git-grep > option (-o, --only-matching), which is only supported from > git version 2.19 and onwards.[1] > > The script now exits early providing a clear message to the user > about the required git version instead of showing the following > error messages multiple times: > error: unknown switch `o' > usage: git grep [<options>] [-e] <pattern> [<rev>...] [[--] <path>...] > [..] > > [1] https://github.com/git/git/blob/v2.19.0/Documentation/RelNotes/2.19.0.txt > > Signed-off-by: Ali Alnubani <[email protected]> > Signed-off-by: Thomas Monjalon <[email protected]>
I don't have a "non working" git, but the patch lgtm. Acked-by: David Marchand <[email protected]> -- David Marchand

